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>
8 lines
168 B
SQL
8 lines
168 B
SQL
ALTER TABLE
|
|
evidences
|
|
ADD CONSTRAINT fk_evidence_file
|
|
FOREIGN KEY (evidence_file_id)
|
|
REFERENCES files(id)
|
|
ON UPDATE CASCADE
|
|
ON DELETE RESTRICT;
|