1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 03:42:41 +01:00
phorge-phorge/resources/sql/patches/019.arcprojects.sql

18 lines
558 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_repository.repository_arcanistproject (
id int unsigned not null auto_increment primary key,
phid varchar(64) binary not null,
unique key(phid),
name varchar(255) not null,
unique key (name),
repositoryID int unsigned
);
ALTER TABLE {$NAMESPACE}_repository.repository
ADD uuid varchar(64) binary;
ALTER TABLE {$NAMESPACE}_differential.differential_diff
CHANGE arcanistProject arcanistProjectPHID varchar(64) binary;
ALTER TABLE {$NAMESPACE}_differential.differential_diff
ADD repositoryUUID varchar(64) binary;