diff --git a/SQL/0000-00-00-schema.sql b/SQL/0000-00-00-schema.sql index d53201796c0..d685ef6fc8f 100644 --- a/SQL/0000-00-00-schema.sql +++ b/SQL/0000-00-00-schema.sql @@ -26,7 +26,7 @@ INSERT INTO subproject (title, useEDC, WindowDifference) VALUES CREATE TABLE `project_subproject_rel` ( `ProjectSubprojectRelID` int(10) unsigned NOT NULL AUTO_INCREMENT, `ProjectID` int(2) NOT NULL, - `SubprojectID` int(2) NOT NULL, + `SubprojectID` int(10) unsigned NOT NULL, PRIMARY KEY (`ProjectSubprojectID`), CONSTRAINT `UK_project_subproject_rel_ProjectID_SubprojectID` UNIQUE KEY (ProjectID, SubprojectID), CONSTRAINT `FK_project_subproject_rel_ProjectID` FOREIGN KEY (`ProjectID`) REFERENCES `Project` (`ProjectID`) ON DELETE CASCADE,