From c49724bb912e68bf0ad5c780c75d1942ed23fcfc Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Tue, 5 May 2020 13:29:40 +0200 Subject: [PATCH] Issue #1705: Add correct database schema definition. --- .../mozilla.components.lib.crash.db.CrashDatabase/1.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/lib/crash/schemas/mozilla.components.lib.crash.db.CrashDatabase/1.json b/components/lib/crash/schemas/mozilla.components.lib.crash.db.CrashDatabase/1.json index c227e04c2f4..5198e55f44c 100644 --- a/components/lib/crash/schemas/mozilla.components.lib.crash.db.CrashDatabase/1.json +++ b/components/lib/crash/schemas/mozilla.components.lib.crash.db.CrashDatabase/1.json @@ -2,7 +2,7 @@ "formatVersion": 1, "database": { "version": 1, - "identityHash": "c82f6a8cf8fbd6509f73a7d7d5ff97cd", + "identityHash": "212dfa0b59d6a78d81e65cead34d40e0", "entities": [ { "tableName": "crashes", @@ -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", @@ -48,7 +48,7 @@ }, { "fieldPath": "crashUuid", - "columnName": "crashUuid", + "columnName": "crash_uuid", "affinity": "TEXT", "notNull": true }, @@ -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')" ] } } \ No newline at end of file