mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 17:22:42 +01:00
17 lines
646 B
MySQL
17 lines
646 B
MySQL
|
CREATE TABLE phabricator_repository.repository_auditrequest (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
auditorPHID varchar(64) BINARY NOT NULL,
|
||
|
commitPHID varchar(64) BINARY NOT NULL,
|
||
|
auditStatus varchar(64) NOT NULL,
|
||
|
auditReasons LONGBLOB NOT NULL,
|
||
|
KEY (commitPHID),
|
||
|
KEY (auditorPHID, auditStatus)
|
||
|
) ENGINE=InnoDB;
|
||
|
|
||
|
INSERT INTO phabricator_repository.repository_auditrequest
|
||
|
(auditorPHID, commitPHID, auditStatus, auditReasons)
|
||
|
SELECT packagePHID, commitPHID, auditStatus, auditReasons
|
||
|
FROM phabricator_owners.owners_packagecommitrelationship;
|
||
|
|
||
|
DROP TABLE phabricator_owners.owners_packagecommitrelationship;
|