Created
August 4, 2020 12:39
-
-
Save Pekwerike/53214bae439826183b1ff763afc5d3f3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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_2_3 = object : Migration(2, 3){ | |
override fun migrate(database: SupportSQLiteDatabase) { | |
dataBase.execSQL("ALTER TABLE <entity-name> ADD COLUMN <new-column-name> <column-data-type>" ) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment