mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
6270114767
Summary: - Removed trailing newlines. - Added newline at EOF. - Removed leading newlines. - Trimmed trailing whitespace. - Spelling fix. - Added newline at EOF Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: hach-que, chad, Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D8344
29 lines
1,014 B
SQL
29 lines
1,014 B
SQL
create table {$NAMESPACE}_project.project (
|
|
id int unsigned not null auto_increment primary key,
|
|
name varchar(255) not null,
|
|
unique key (name),
|
|
phid varchar(64) binary not null,
|
|
authorPHID varchar(64) binary not null,
|
|
dateCreated int unsigned not null,
|
|
dateModified int unsigned not null
|
|
);
|
|
create table {$NAMESPACE}_project.project_profile (
|
|
id int unsigned not null auto_increment primary key,
|
|
projectPHID varchar(64) binary not null,
|
|
unique key (projectPHID),
|
|
blurb longtext not null,
|
|
profileImagePHID varchar(64) binary,
|
|
dateCreated int unsigned not null,
|
|
dateModified int unsigned not null
|
|
);
|
|
create table {$NAMESPACE}_project.project_affiliation (
|
|
id int unsigned not null auto_increment primary key,
|
|
projectPHID varchar(64) binary not null,
|
|
userPHID varchar(64) binary not null,
|
|
unique key (projectPHID, userPHID),
|
|
key (userPHID),
|
|
role varchar(255) not null,
|
|
status varchar(32) not null,
|
|
dateCreated int unsigned not null,
|
|
dateModified int unsigned not null
|
|
);
|