mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
make sort_value be empty by default
This commit is contained in:
parent
21cc0b97bc
commit
b27877c109
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ abstract class GalleryDatabase : RoomDatabase() {
|
||||||
|
|
||||||
private val MIGRATION_7_8 = object : Migration(7, 8) {
|
private val MIGRATION_7_8 = object : Migration(7, 8) {
|
||||||
override fun migrate(database: SupportSQLiteDatabase) {
|
override fun migrate(database: SupportSQLiteDatabase) {
|
||||||
database.execSQL("ALTER TABLE directories ADD COLUMN sort_value TEXT NOT NULL")
|
database.execSQL("ALTER TABLE directories ADD COLUMN sort_value TEXT default '' NOT NULL")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue