1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 10:42:41 +01:00
phorge-phorge/resources/sql/patches/110.commitaudit.sql

12 lines
377 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_repository.repository_commit
ADD mailKey VARCHAR(20) NOT NULL;
ALTER TABLE {$NAMESPACE}_repository.repository_commit
ADD authorPHID VARCHAR(64) BINARY;
ALTER TABLE {$NAMESPACE}_repository.repository_commit
ADD auditStatus INT UNSIGNED NOT NULL;
ALTER TABLE {$NAMESPACE}_repository.repository_commit
ADD KEY (authorPHID, auditStatus, epoch);