mirror of
https://github.com/openflocon/Flocon.git
synced 2026-04-28 18:39:32 +00:00
Feat desktop version checker (#374)
Co-authored-by: Florent Champigny <florent@bere.al>
This commit is contained in:
parent
a0c0bb8470
commit
2c1e02fa77
44 changed files with 2249 additions and 10 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"formatVersion": 1,
|
||||
"database": {
|
||||
"version": 69,
|
||||
"identityHash": "b3db48474cf70e9d0e86dc334bec843b",
|
||||
"identityHash": "3c2a9d28f0bbcf44fd34823e76f4477b",
|
||||
"entities": [
|
||||
{
|
||||
"tableName": "FloconNetworkCallEntity",
|
||||
|
|
@ -1515,7 +1515,7 @@
|
|||
},
|
||||
{
|
||||
"tableName": "DeviceAppEntity",
|
||||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`deviceId` TEXT NOT NULL, `name` TEXT NOT NULL, `packageName` TEXT NOT NULL, `iconEncoded` TEXT, `lastAppInstance` INTEGER NOT NULL, PRIMARY KEY(`deviceId`, `packageName`), FOREIGN KEY(`deviceId`) REFERENCES `DeviceEntity`(`deviceId`) ON UPDATE NO ACTION ON DELETE CASCADE )",
|
||||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`deviceId` TEXT NOT NULL, `name` TEXT NOT NULL, `packageName` TEXT NOT NULL, `iconEncoded` TEXT, `lastAppInstance` INTEGER NOT NULL, `floconVersionOnDevice` TEXT NOT NULL, PRIMARY KEY(`deviceId`, `packageName`), FOREIGN KEY(`deviceId`) REFERENCES `DeviceEntity`(`deviceId`) ON UPDATE NO ACTION ON DELETE CASCADE )",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "deviceId",
|
||||
|
|
@ -1545,6 +1545,12 @@
|
|||
"columnName": "lastAppInstance",
|
||||
"affinity": "INTEGER",
|
||||
"notNull": true
|
||||
},
|
||||
{
|
||||
"fieldPath": "floconVersionOnDevice",
|
||||
"columnName": "floconVersionOnDevice",
|
||||
"affinity": "TEXT",
|
||||
"notNull": true
|
||||
}
|
||||
],
|
||||
"primaryKey": {
|
||||
|
|
@ -1642,7 +1648,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, 'b3db48474cf70e9d0e86dc334bec843b')"
|
||||
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '3c2a9d28f0bbcf44fd34823e76f4477b')"
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue