Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/resources/sql/patches/000.project.sql
12250 views
1
create 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
);
10
create 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
);
19
create 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
);
30
31