diff --git a/resources/sql/patches/088.audit.sql b/resources/sql/patches/088.audit.sql index a5b23a7cca..a1d90be6d7 100644 --- a/resources/sql/patches/088.audit.sql +++ b/resources/sql/patches/088.audit.sql @@ -1,11 +1,11 @@ +CREATE DATABASE IF NOT EXISTS phabricator_audit; + ALTER TABLE phabricator_owners.owners_packagecommitrelationship ADD COLUMN `auditStatus` varchar(64) NOT NULL, ADD COLUMN `auditReasons` longtext NOT NULL, DROP KEY `packagePHID`, ADD KEY `packagePHID` (`packagePHID`, `auditStatus`, `id`); -CREATE DATABASE IF NOT EXISTS phabricator_audit; - CREATE TABLE IF NOT EXISTs phabricator_audit.audit_comment ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `phid` varchar(64) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,