Skip to content

Commit

Permalink
Added to SQl schema
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-p-s committed Mar 10, 2021
1 parent 649300f commit e327977
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion SQL/0000-00-00-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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`),
Expand Down

0 comments on commit e327977

Please # to comment.