From 9e71c3cbfacabfda417330d3d3355f65cbf8a9f1 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Tue, 9 Apr 2024 23:07:36 +0700 Subject: [PATCH] migrations: added enable column to subreddits table --- db/migrations/20240406220949_create_subreddits_table.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/db/migrations/20240406220949_create_subreddits_table.sql b/db/migrations/20240406220949_create_subreddits_table.sql index 4582d74..a067b1e 100644 --- a/db/migrations/20240406220949_create_subreddits_table.sql +++ b/db/migrations/20240406220949_create_subreddits_table.sql @@ -3,6 +3,7 @@ CREATE TABLE subreddits ( id INTEGER PRIMARY KEY, name VARCHAR(30) NOT NULL, + enable INT NOT NULL DEFAULT 1, subtype INT NOT NULL DEFAULT 0, schedule VARCHAR(20) NOT NULL DEFAULT '0 0 * * *', countback INT NOT NULL DEFAULT 100,