Change lenght of releases table name and searchname columns to 400 and 300 respectively

This commit is contained in:
DariusIII
2017-05-05 15:53:09 +02:00
parent f1e2f86bcc
commit 4ecb99eb3d
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
2017-05-05 DariusIII
* Chg: Change lenght of releases table name and searchname columns to 400 and 300 respectively
* Chg: Add more specific TV UHD categorization
* Chg: Move around tests and phpunit.xml
* Chg: Update .scrutinizer.yml to use php 7.1
+2 -2
View File
@@ -16,8 +16,8 @@
</last>
</scripts>
<sql>
<db>305</db>
<file>305</file>
<db>306</db>
<file>306</file>
</sql>
</versions>
</nntmux>
@@ -0,0 +1,5 @@
# Increase VARCHAR of releases.name column to 400
ALTER TABLE releases MODIFY COLUMN name VARCHAR(400) NOT NULL DEFAULT '' COMMENT 'Release usenet name';
# Increase VARCHAR or releases.searchname column to 300
ALTER TABLE releases MODIFY COLUMN searchname VARCHAR(300) NOT NULL DEFAULT '' COMMENT 'Release search name';