Files
newznab-tmux/resources/db/patches/mysql/0194~release_comments.sql
T
2016-09-21 12:34:07 +02:00

11 lines
338 B
SQL
Executable File

# This patch will remove column, trigger and index
#Drop the trigger
DROP TRIGGER IF EXISTS insert_MD5;
#Drop the indexes
ALTER TABLE release_comments DROP INDEX ix_releasecomment_text_releaseID;
ALTER TABLE release_comments DROP INDEX ix_releasecomment_hash_gid;
#Drop the text_hash column
ALTER TABLE release_comments DROP text_hash;