Andrew O Hart04/06/2022, 11:57 AM
russhwolf04/06/2022, 2:35 PM
file, you probably also need a
file with the changes. See https://cashapp.github.io/sqldelight/jvm_sqlite/migrations/
Andrew O Hart04/06/2022, 3:41 PM
kpgalligan04/06/2022, 7:52 PM
Andrew O Hart04/06/2022, 10:12 PM
kpgalligan04/06/2022, 10:54 PM
files, if you have 5 tables that should be in your db, you need 5 create statements. One for each table. If somebody installed your app, brand new, right now, and you needed those 5 tables, they all need create statements in
files. For a brand new database, migration is never run. I think that’s the critical part you need to visualize. If you had 2 migrations from when you first started developing your app, your db version would be “3”. When a new user installs your app, they don’t go through versions 1 and 2. The new db has the create statements run, and the version is just set to 3.
files look like? Whatever that is, that is exactly what they should look like with migrations.
Andrew O Hart04/07/2022, 9:00 AM
kpgalligan04/07/2022, 3:37 PM