Skip to content

Commit

Permalink
Issue mozilla-mobile#1705: Add correct database schema definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
pocmo committed May 8, 2020
1 parent 46a7674 commit c49724b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "c82f6a8cf8fbd6509f73a7d7d5ff97cd",
"identityHash": "212dfa0b59d6a78d81e65cead34d40e0",
"entities": [
{
"tableName": "crashes",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
{
"tableName": "reports",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `crashUuid` TEXT NOT NULL, `service_id` TEXT NOT NULL, `report_id` TEXT NOT NULL)",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `crash_uuid` TEXT NOT NULL, `service_id` TEXT NOT NULL, `report_id` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "id",
Expand All @@ -48,7 +48,7 @@
},
{
"fieldPath": "crashUuid",
"columnName": "crashUuid",
"columnName": "crash_uuid",
"affinity": "TEXT",
"notNull": true
},
Expand Down Expand Up @@ -78,7 +78,7 @@
"views": [],
"setupQueries": [
"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, 'c82f6a8cf8fbd6509f73a7d7d5ff97cd')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '212dfa0b59d6a78d81e65cead34d40e0')"
]
}
}

0 comments on commit c49724b

Please sign in to comment.