diff --git a/SQL/0000-00-00-schema.sql b/SQL/0000-00-00-schema.sql index c23a0e1e0db..17fce1ecf3a 100644 --- a/SQL/0000-00-00-schema.sql +++ b/SQL/0000-00-00-schema.sql @@ -890,7 +890,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; @@ -2156,6 +2156,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`),