Browse Source

Increase maximum string length of tag aliases

This actually matters now that we have namespaces, and there's no reason
not to bring it up to 255 characters. mysql is going to use 1 size byte
as long as we're below a maximum of 256 characters
spaghetti 8 years ago
parent
commit
4f61a4e40a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      gazelle.sql

+ 2
- 2
gazelle.sql View File

@@ -1069,8 +1069,8 @@ CREATE TABLE `stylesheets` (
1069 1069
 
1070 1070
 CREATE TABLE `tag_aliases` (
1071 1071
   `ID` int(10) NOT NULL AUTO_INCREMENT,
1072
-  `BadTag` varchar(30) DEFAULT NULL,
1073
-  `AliasTag` varchar(30) DEFAULT NULL,
1072
+  `BadTag` varchar(255) DEFAULT NULL,
1073
+  `AliasTag` varchar(255) DEFAULT NULL,
1074 1074
   PRIMARY KEY (`ID`),
1075 1075
   KEY `BadTag` (`BadTag`),
1076 1076
   KEY `AliasTag` (`AliasTag`)

Loading…
Cancel
Save