Path: blob/master/resources/sql/patches/018.owners.sql
12250 views
CREATE TABLE {$NAMESPACE}_owners.owners_package (1id int unsigned not null auto_increment primary key,2phid varchar(64) binary not null,3unique key(phid),4name varchar(255) COLLATE `binary` not null,5unique key(name),6description text not null,7primaryOwnerPHID varchar(64) binary8);910CREATE TABLE {$NAMESPACE}_owners.owners_owner (11id int unsigned not null auto_increment primary key,12packageID int unsigned not null,13userPHID varchar(64) binary not null,14UNIQUE KEY(packageID, userPHID),15KEY(userPHID)16);1718CREATE TABLE {$NAMESPACE}_owners.owners_path (19id int unsigned not null auto_increment primary key,20packageID int unsigned not null,21key(packageID),22repositoryPHID varchar(64) binary not null,23path varchar(255) not null24);252627