mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-20 03:03:44 +05:30
Use boolean for is_saved field
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
parent
740d9e432a
commit
ab3f112981
3 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
import dev.msfjarvis.lobsters.model.Submitter;
|
||||
import java.lang.Integer;
|
||||
import java.lang.Boolean;
|
||||
import kotlin.collections.List;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS LobstersPost(
|
||||
|
@ -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 Integer DEFAULT 0
|
||||
is_saved INTEGER as Boolean DEFAULT 0 NOT NULL
|
||||
);
|
||||
|
||||
selectAllPosts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue