Specifying initial database version when using SQLDelight

Viewed 160

We're migrating from the Android platform SQLiteDatabase/SQLiteOpenHelper to use SQLDelight. Our first public database version was 17. By default, the SQLDelight Schema returns 1 for version. The only way I've been able to find to force version to 17 is to provide an empty 16.sqm migration file. Is this the correct way to do this, or is there a better way?

0 Answers
Related