Skip to content

Commit

Permalink
reddit: added disabled column
Browse files Browse the repository at this point in the history
  • Loading branch information
jogramming committed Mar 9, 2019
1 parent 1c85460 commit 10c698f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 7 additions & 2 deletions reddit/models/reddit_feeds.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reddit/models/reddit_feeds_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions reddit/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ CREATE TABLE IF NOT EXISTS reddit_feeds (
CREATE INDEX IF NOT EXISTS redidt_feeds_guild_idx ON reddit_feeds(guild_id);
CREATE INDEX IF NOT EXISTS redidt_feeds_subreddit_idx ON reddit_feeds(subreddit);
ALTER TABLE reddit_feeds ADD COLUMN IF NOT EXISTS disabled BOOLEAN NOT NULL DEFAULT FALSE;
`

0 comments on commit 10c698f

Please sign in to comment.