mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 19:52:44 +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;
|