@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at recaptime-dev/main 29 lines 1.0 kB view raw
1create table {$NAMESPACE}_project.project ( 2 id int unsigned not null auto_increment primary key, 3 name varchar(255) COLLATE `binary` not null, 4 unique key (name), 5 phid varchar(64) binary not null, 6 authorPHID varchar(64) binary not null, 7 dateCreated int unsigned not null, 8 dateModified int unsigned not null 9); 10create table {$NAMESPACE}_project.project_profile ( 11 id int unsigned not null auto_increment primary key, 12 projectPHID varchar(64) binary not null, 13 unique key (projectPHID), 14 blurb longtext not null, 15 profileImagePHID varchar(64) binary, 16 dateCreated int unsigned not null, 17 dateModified int unsigned not null 18); 19create table {$NAMESPACE}_project.project_affiliation ( 20 id int unsigned not null auto_increment primary key, 21 projectPHID varchar(64) binary not null, 22 userPHID varchar(64) binary not null, 23 unique key (projectPHID, userPHID), 24 key (userPHID), 25 role varchar(255) not null, 26 status varchar(32) not null, 27 dateCreated int unsigned not null, 28 dateModified int unsigned not null 29);