1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/resources/sql/patches/20130703.legalpaddocdenorm.sql

9 lines
393 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_legalpad.legalpad_document
ADD recentContributorPHIDs LONGTEXT NOT NULL COLLATE utf8_bin AFTER phid,
ADD contributorCount INT UNSIGNED NOT NULL DEFAULT 0 AFTER phid,
ADD title VARCHAR(255) NOT NULL COLLATE utf8_general_ci AFTER phid;
ALTER TABLE {$NAMESPACE}_legalpad.legalpad_document
DROP KEY key_creator,
ADD KEY key_creator (creatorPHID, dateModified);