From e327977301e15f1199854540375624796ad7c442 Mon Sep 17 00:00:00 2001 From: pierre-p-s Date: Wed, 10 Mar 2021 14:52:24 -0500 Subject: [PATCH] Added to SQl schema --- SQL/0000-00-00-schema.sql | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SQL/0000-00-00-schema.sql b/SQL/0000-00-00-schema.sql index 776634f0a16..aeadd547502 100644 --- a/SQL/0000-00-00-schema.sql +++ b/SQL/0000-00-00-schema.sql @@ -834,7 +834,7 @@ CREATE TABLE `mri_violations_log` ( PRIMARY KEY (`LogID`), CONSTRAINT `FK_tarchive_mriViolationsLog_1` FOREIGN KEY (`TarchiveID`) REFERENCES `tarchive` (`TarchiveID`), - CONSTRAINT `FK_mri_checks_group_1` + CONSTRAINT `FK_mri_checks_group_1` FOREIGN KEY (`MriProtocolChecksGroupID`) REFERENCES `mri_protocol_checks_group` (`MriProtocolChecksGroupID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -2086,6 +2086,10 @@ CREATE TABLE `publication` ( `Title` varchar(255) NOT NULL, `RejectedReason` varchar(255) default NULL, `Description` text NOT NULL, + `journal` varchar(255) DEFAULT NULL, + `datePublication` date DEFAULT NULL, + `link` varchar(255) DEFAULT NULL, + `publishingStatus` enum('inProgress','published') DEFAULT NULL, CONSTRAINT `PK_publication` PRIMARY KEY(`PublicationID`), CONSTRAINT `FK_publication_UserID` FOREIGN KEY(`UserID`) REFERENCES `users` (`ID`), CONSTRAINT `FK_publication_RatedBy` FOREIGN KEY(`RatedBy`) REFERENCES `users` (`ID`),