File refs in one table
Added a file service Refactored evidence and vendor compliance associated services and resolvers Created SQL migration scripts Updated GraphQL schema accordingly and the UI components Removed unused methods and resolvers for evidence service Signed-off-by: Yannis Varni <yannis@edinomis.fr>
This commit is contained in:
committed by
Sacha Al Himdani
parent
3822b1916c
commit
ff7ba08fc1
7
pkg/coredata/migrations/20251006T133729Z.sql
Normal file
7
pkg/coredata/migrations/20251006T133729Z.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE
|
||||
evidences
|
||||
ADD CONSTRAINT fk_evidence_file
|
||||
FOREIGN KEY (evidence_file_id)
|
||||
REFERENCES files(id)
|
||||
ON UPDATE CASCADE
|
||||
ON DELETE RESTRICT;
|
||||
Reference in New Issue
Block a user