migrations: added enable column to subreddits table

This commit is contained in:
Tigor Hutasuhut 2024-04-09 23:07:36 +07:00
parent 375004b8ec
commit 9e71c3cbfa

View file

@ -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,