From 4e591de56ea0fe29dcdfdbab69c1b627e0f76c59 Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Fri, 23 Aug 2019 14:31:40 -0400 Subject: [PATCH] sqlite v3.22 compat --- src/database/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/schema.py b/src/database/schema.py index b19eb5b..d56ad1f 100644 --- a/src/database/schema.py +++ b/src/database/schema.py @@ -12,7 +12,7 @@ CREATE_COMMENT_TABLE = """ Signature TEXT DEFAULT NULL, Timestamp INTEGER NOT NULL, SigningTs TEXT DEFAULT NULL, - IsHidden BOOLEAN NOT NULL DEFAULT FALSE, + IsHidden BOOLEAN NOT NULL DEFAULT 0, CONSTRAINT COMMENT_PRIMARY_KEY PRIMARY KEY (CommentId) ON CONFLICT IGNORE, CONSTRAINT COMMENT_SIGNATURE_SK UNIQUE (Signature) ON CONFLICT ABORT, CONSTRAINT COMMENT_CHANNEL_FK FOREIGN KEY (ChannelId) REFERENCES CHANNEL (ClaimId)