Page MenuHomePhabricator

000.project.sql
No OneTemporary

000.project.sql

create table {$NAMESPACE}_project.project (
id int unsigned not null auto_increment primary key,
name varchar(255) COLLATE `binary` 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
);

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 19, 12:01 AM (1 d, 2 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8281943
Default Alt Text
000.project.sql (1 KB)

Event Timeline