Last active
November 14, 2022 07:06
-
-
Save gokmenbayram/11aebb0cb8d35834c24ba9e26b74b469 to your computer and use it in GitHub Desktop.
Manual Migration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val MIGRATION_1_2 = object : Migration(1, 2) { | |
override fun migrate(database: SupportSQLiteDatabase) { | |
database.execSQL("ALTER TABLE User ADD COLUMN age INTEGER") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment