Files
newznab-tmux/lib/DB/patches/db_update_02_04_2014_prehash.sql
T
2014-04-02 10:01:11 +02:00

10 lines
331 B
SQL

/* Drop the adddate index */
ALTER TABLE prehash DROP INDEX ix_prehash_adddate;
/* Drop the adddate column */
ALTER TABLE prehash DROP COLUMN adddate;
/* Use tmux table to keep the last pre time (unixtime) */
INSERT INTO tmux (setting, value) VALUES ('lastpretime', '0');
UPDATE tmux SET value = '14' WHERE setting = 'sqlpatch';