Alter columns in release_regexes tables to allow signed values for collection_regexes_id and naming_regexes_id

This commit is contained in:
DariusIII
2017-05-15 15:17:24 +02:00
parent 0feea32409
commit f85baf623b
4 changed files with 9 additions and 4 deletions
+1
View File
@@ -1,4 +1,5 @@
2017-05-15 DariusIII
* Fix: Alter columns in release_regexes tables to allow signed values for collection_regexes_id and naming_regexes_id
* Fix: Wrong table structure for release_regexes table in mysql-ddl.sql
* Chg: Use fetch method for fetching OMDbAPI data
* Chg: Add OMDbAPI apikey support for future use as it will go private soon
+2 -2
View File
@@ -16,8 +16,8 @@
</last>
</scripts>
<sql>
<db>308</db>
<file>308</file>
<db>309</db>
<file>309</file>
</sql>
</versions>
</nntmux>
@@ -0,0 +1,4 @@
# Alter the columns in release_regexes table
ALTER TABLE release_regexes MODIFY COLUMN collection_regex_id INT(11) NOT NULL DEFAULT '0';
ALTEr TABLE release_regexes MODIFY COLUMN naming_regex_id INT(11) NOT NULL DEFAULT '0';
+2 -2
View File
@@ -836,8 +836,8 @@ CREATE TABLE releases_groups (
DROP TABLE IF EXISTS release_regexes;
CREATE TABLE release_regexes (
releases_id INT(11) UNSIGNED NOT NULL DEFAULT '0',
collection_regex_id INT(11) UNSIGNED NOT NULL DEFAULT '0',
naming_regex_id INT(11) UNSIGNED NOT NULL DEFAULT '0',
collection_regex_id INT(11) NOT NULL DEFAULT '0',
naming_regex_id INT(11) NOT NULL DEFAULT '0',
PRIMARY KEY (releases_id, collection_regex_id, naming_regex_id)
)
ENGINE = MYISAM