Do you have any documentation for shipping a pre-populated sqlite database for a KMP app (Android, iOS, Desktop, and ideally Web too)?
u
ursus
04/09/2024, 9:33 AM
sqldelight has 0-th migration
d
Daniele B
04/09/2024, 9:34 AM
What does 0-th migration mean?
u
ursus
04/09/2024, 9:34 AM
a place where you can populate things
d
Daniele B
04/09/2024, 9:38 AM
I don't understand. Can you provide more details?
u
ursus
04/09/2024, 9:45 AM
hmm can't find it. I could swear I've seen it
d
Daniele B
04/09/2024, 12:13 PM
I have defined the db schema on the SqlDelight .sq file.
I verified (using the gradle tasks) that it matches the schema of my sqlite database.
What I don't understand is what should be done to migrate a new database (with the same schema, but different data).