fix: crash because of migration
* Fixed crash related to migration
This commit is contained in:
parent
6d7e178d4c
commit
c46ecb7ff0
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ object DatabaseHelper {
|
||||||
override fun migrate(database: SupportSQLiteDatabase) {
|
override fun migrate(database: SupportSQLiteDatabase) {
|
||||||
database.execSQL(
|
database.execSQL(
|
||||||
"""
|
"""
|
||||||
CREATE TABLE IF NOT EXISTS ColorPresetEntity (
|
CREATE TABLE IF NOT EXISTS ColorPresetEntity_new (
|
||||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
name TEXT NOT NULL,
|
name TEXT NOT NULL,
|
||||||
backgroundColor INTEGER NOT NULL,
|
backgroundColor INTEGER NOT NULL,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue