diff --git a/resources/sql/patches/060.phriction.sql b/resources/sql/patches/060.phriction.sql index c7f5efee4b..ba8420dd1a 100644 --- a/resources/sql/patches/060.phriction.sql +++ b/resources/sql/patches/060.phriction.sql @@ -4,7 +4,7 @@ CREATE TABLE phabricator_phriction.phriction_document ( id INT UNSIGNED NOT NULL, phid VARCHAR(64) BINARY NOT NULL, UNIQUE KEY (phid), - slug VARCHAR(512) NOT NULL, + slug VARCHAR(256) NOT NULL, UNIQUE KEY (slug), depth INT UNSIGNED NOT NULL, UNIQUE KEY (depth, slug), diff --git a/resources/sql/patches/094.phrictioncolumn.sql b/resources/sql/patches/094.phrictioncolumn.sql new file mode 100644 index 0000000000..4e9670bf1d --- /dev/null +++ b/resources/sql/patches/094.phrictioncolumn.sql @@ -0,0 +1,2 @@ +ALTER TABLE phabricator_phriction.phriction_document + CHANGE slug slug VARCHAR(256) NOT NULL;