mirror of
https://github.com/openflocon/Flocon.git
synced 2026-04-29 01:59:32 +00:00
refact: [CORE] add app instance to messages (#153)
* refact: [CORE] add app instance to messages * upgraded schema * old calls are displayed differently --------- Co-authored-by: Florent Champigny <florent@bere.al>
This commit is contained in:
parent
8025553c2f
commit
bdea11321d
47 changed files with 2547 additions and 97 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"formatVersion": 1,
|
||||
"database": {
|
||||
"version": 49,
|
||||
"identityHash": "875878b8757c53779c12989a8b0c8869",
|
||||
"identityHash": "d1b9dd72b7ce377bcfd366023a8d6d12",
|
||||
"entities": [
|
||||
{
|
||||
"tableName": "FloconNetworkCallEntity",
|
||||
|
|
@ -1100,7 +1100,7 @@
|
|||
},
|
||||
{
|
||||
"tableName": "DeviceAppEntity",
|
||||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`parentDeviceId` TEXT NOT NULL, `name` TEXT NOT NULL, `packageName` TEXT NOT NULL, `iconEncoded` TEXT, PRIMARY KEY(`parentDeviceId`, `packageName`), FOREIGN KEY(`parentDeviceId`) REFERENCES `DeviceEntity`(`deviceId`) ON UPDATE NO ACTION ON DELETE CASCADE )",
|
||||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`parentDeviceId` TEXT NOT NULL, `name` TEXT NOT NULL, `packageName` TEXT NOT NULL, `iconEncoded` TEXT, `lastAppInstance` INTEGER NOT NULL, PRIMARY KEY(`parentDeviceId`, `packageName`), FOREIGN KEY(`parentDeviceId`) REFERENCES `DeviceEntity`(`deviceId`) ON UPDATE NO ACTION ON DELETE CASCADE )",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "parentDeviceId",
|
||||
|
|
@ -1124,6 +1124,12 @@
|
|||
"fieldPath": "iconEncoded",
|
||||
"columnName": "iconEncoded",
|
||||
"affinity": "TEXT"
|
||||
},
|
||||
{
|
||||
"fieldPath": "lastAppInstance",
|
||||
"columnName": "lastAppInstance",
|
||||
"affinity": "INTEGER",
|
||||
"notNull": true
|
||||
}
|
||||
],
|
||||
"primaryKey": {
|
||||
|
|
@ -1150,7 +1156,7 @@
|
|||
],
|
||||
"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, '875878b8757c53779c12989a8b0c8869')"
|
||||
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'd1b9dd72b7ce377bcfd366023a8d6d12')"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue