Add anidb id to videos table, add the missing patch

This commit is contained in:
DariusIII
2015-10-26 10:03:41 +01:00
parent 4e49ba64af
commit 6099222edc
5 changed files with 20 additions and 0 deletions
+1
View File
@@ -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
+3
View File
@@ -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);