Make is_saved nullable

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-12-20 14:37:47 +05:30
parent ab3f112981
commit 4f9d0c09ef
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -15,7 +15,7 @@ CREATE TABLE IF NOT EXISTS LobstersPost(
comments_url TEXT NOT NULL,
submitter_user TEXT as Submitter NOT NULL,
tags TEXT as List<String> NOT NULL,
is_saved INTEGER as Boolean DEFAULT 0 NOT NULL
is_saved INTEGER as Boolean DEFAULT 0
);
selectAllPosts: