mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
fix(database): add a migration to generate an empty PostComments
table
This commit is contained in:
parent
918f28feab
commit
579a2ffe2e
1 changed files with 7 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
import kotlin.String;
|
||||||
|
import kotlin.collections.List;
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS PostComments(
|
||||||
|
postId TEXT NOT NULL PRIMARY KEY,
|
||||||
|
commentIds TEXT AS List<String> NOT NULL
|
||||||
|
);
|
Loading…
Add table
Add a link
Reference in a new issue