mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
Add anidb id to videos table, add the missing patch
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2015-10-26 DariusIII
|
||||
Upd: Add anidb id to video table, add the missing patch
|
||||
Fix: Remove non-existant processTVDB from postprocess.
|
||||
Fix: Typo in array
|
||||
Chg: Revamp TV processing
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# Alter videos table to add anidb id column
|
||||
|
||||
ALTER IGNORE TABLE videos ADD COLUMN anidb MEDIUMINT(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'ID number for anidb site' AFTER started;
|
||||
@@ -0,0 +1,3 @@
|
||||
# Alter videos table to add anidb id column
|
||||
|
||||
ALTER IGNORE TABLE videos ADD COLUMN anidb MEDIUMINT(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'ID number for anidb site' AFTER started;
|
||||
@@ -0,0 +1,13 @@
|
||||
# This patch will make the necessary changes to the user_series
|
||||
# table to support the new videos implementation
|
||||
# At this time, we are not sure if we can preserve the users shows
|
||||
# data as the tvrage data is largely useless due to the title insert bug
|
||||
|
||||
# Truncate for now
|
||||
TRUNCATE TABLE userseries;
|
||||
|
||||
# Change rageid column to new videos_id
|
||||
ALTER TABLE userseries
|
||||
DROP INDEX ix_userseries_userid,
|
||||
CHANGE COLUMN rageid videos_id INT(16) NOT NULL COMMENT 'FK to videos.id',
|
||||
ADD INDEX ix_userseries_videos_id (userid, videos_id);
|
||||
Reference in New Issue
Block a user