mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Alter columns in release_regexes tables to allow signed values for collection_regexes_id and naming_regexes_id
This commit is contained in:
@@ -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
@@ -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';
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user