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)