,
This commit is contained in:
parent
c44929d5cb
commit
c6f4a35f3a
2 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
"formatVersion": 1,
|
"formatVersion": 1,
|
||||||
"database": {
|
"database": {
|
||||||
"version": 9,
|
"version": 9,
|
||||||
"identityHash": "d29e09789b7c96b5551b80da253b7330",
|
"identityHash": "57a92066f71582b510b66d4e99dc339e",
|
||||||
"entities": [
|
"entities": [
|
||||||
{
|
{
|
||||||
"tableName": "results",
|
"tableName": "results",
|
||||||
|
|
@ -337,7 +337,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"tableName": "commandTemplates",
|
"tableName": "commandTemplates",
|
||||||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT NOT NULL, `content` TEXT NOT NULL, `useAsExtraCommand` INTEGER NOT NULL DEFAULT false)",
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT NOT NULL, `content` TEXT NOT NULL, `useAsExtraCommand` INTEGER NOT NULL DEFAULT 0)",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"fieldPath": "id",
|
"fieldPath": "id",
|
||||||
|
|
@ -362,7 +362,7 @@
|
||||||
"columnName": "useAsExtraCommand",
|
"columnName": "useAsExtraCommand",
|
||||||
"affinity": "INTEGER",
|
"affinity": "INTEGER",
|
||||||
"notNull": true,
|
"notNull": true,
|
||||||
"defaultValue": "false"
|
"defaultValue": "0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"primaryKey": {
|
"primaryKey": {
|
||||||
|
|
@ -512,7 +512,7 @@
|
||||||
"views": [],
|
"views": [],
|
||||||
"setupQueries": [
|
"setupQueries": [
|
||||||
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
|
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
|
||||||
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'd29e09789b7c96b5551b80da253b7330')"
|
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '57a92066f71582b510b66d4e99dc339e')"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -12,6 +12,6 @@ data class CommandTemplate(
|
||||||
var id: Long,
|
var id: Long,
|
||||||
var title: String,
|
var title: String,
|
||||||
var content: String,
|
var content: String,
|
||||||
@ColumnInfo(defaultValue = "false")
|
@ColumnInfo(defaultValue = "0")
|
||||||
var useAsExtraCommand: Boolean
|
var useAsExtraCommand: Boolean
|
||||||
)
|
)
|
||||||
Loading…
Reference in a new issue