migrations: added enable column to subreddits table
This commit is contained in:
parent
375004b8ec
commit
9e71c3cbfa
|
@ -3,6 +3,7 @@
|
||||||
CREATE TABLE subreddits (
|
CREATE TABLE subreddits (
|
||||||
id INTEGER PRIMARY KEY,
|
id INTEGER PRIMARY KEY,
|
||||||
name VARCHAR(30) NOT NULL,
|
name VARCHAR(30) NOT NULL,
|
||||||
|
enable INT NOT NULL DEFAULT 1,
|
||||||
subtype INT NOT NULL DEFAULT 0,
|
subtype INT NOT NULL DEFAULT 0,
|
||||||
schedule VARCHAR(20) NOT NULL DEFAULT '0 0 * * *',
|
schedule VARCHAR(20) NOT NULL DEFAULT '0 0 * * *',
|
||||||
countback INT NOT NULL DEFAULT 100,
|
countback INT NOT NULL DEFAULT 100,
|
||||||
|
|
Loading…
Reference in a new issue