2012-04-30 16:53:53 +02:00
|
|
|
CREATE TABLE {$NAMESPACE}_repository.repository_arcanistproject (
|
2011-04-06 05:49:31 +02:00
|
|
|
id int unsigned not null auto_increment primary key,
|
|
|
|
phid varchar(64) binary not null,
|
|
|
|
unique key(phid),
|
2014-10-29 23:49:29 +01:00
|
|
|
name varchar(255) COLLATE `binary` not null,
|
2011-04-06 05:49:31 +02:00
|
|
|
unique key (name),
|
|
|
|
repositoryID int unsigned
|
|
|
|
);
|
|
|
|
|
2012-04-30 16:53:53 +02:00
|
|
|
ALTER TABLE {$NAMESPACE}_repository.repository
|
2011-04-06 05:49:31 +02:00
|
|
|
ADD uuid varchar(64) binary;
|
|
|
|
|
2012-04-30 16:53:53 +02:00
|
|
|
ALTER TABLE {$NAMESPACE}_differential.differential_diff
|
2011-04-06 05:49:31 +02:00
|
|
|
CHANGE arcanistProject arcanistProjectPHID varchar(64) binary;
|
|
|
|
|
2012-04-30 16:53:53 +02:00
|
|
|
ALTER TABLE {$NAMESPACE}_differential.differential_diff
|
2011-04-06 05:49:31 +02:00
|
|
|
ADD repositoryUUID varchar(64) binary;
|