Update sqlite-based database version to 22.

This commit is contained in:
Saifuddin 2025-02-23 13:56:27 +05:30
parent ed5f3fc287
commit fa606b8b75

View file

@ -254,7 +254,6 @@ open class CommonsApplicationModule(private val applicationContext: Context) {
private val MIGRATION_19_TO_20 = object : Migration(19, 20) { private val MIGRATION_19_TO_20 = object : Migration(19, 20) {
override fun migrate(db: SupportSQLiteDatabase) { override fun migrate(db: SupportSQLiteDatabase) {
// Step 1: Create the new table with NOT NULL constraints
db.execSQL( db.execSQL(
""" """
CREATE TABLE IF NOT EXISTS bookmarks_locations ( CREATE TABLE IF NOT EXISTS bookmarks_locations (