mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
8cca3079fc
Summary: Quite basic subproject attachment. Test Plan: Go to some proj ect and add another as a subproject. Play around the ui. Reviewers: epr iestley CC:
11 lines
No EOL
382 B
SQL
11 lines
No EOL
382 B
SQL
ALTER TABLE phabricator_project.project
|
|
ADD subprojectPHIDs longblob NOT NULL;
|
|
UPDATE phabricator_project.project
|
|
SET subprojectPHIDs = '[]';
|
|
|
|
CREATE TABLE phabricator_project.project_subproject (
|
|
projectPHID varchar(64) BINARY NOT NULL,
|
|
subprojectPHID varchar(64) BINARY NOT NULL,
|
|
PRIMARY KEY (subprojectPHID, projectPHID),
|
|
UNIQUE KEY (projectPHID, subprojectPHID)
|
|
); |