2025-07-31 16:38:26 +08:00

254 lines
7.4 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 5,
"identityHash": "7f7292ef40ed73cbab3c6f7fa73faeb2",
"entities": [
{
"tableName": "CommitFenceEvent",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `editType` INTEGER NOT NULL, `editTime` INTEGER NOT NULL, `commitStatu` INTEGER NOT NULL, `enable` INTEGER NOT NULL, `feceType` INTEGER NOT NULL, `fenceId` INTEGER NOT NULL, `userId` INTEGER NOT NULL, `lat` REAL NOT NULL, `lng` REAL NOT NULL, `datatime` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "uid",
"columnName": "uid",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "editType",
"columnName": "editType",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "editTime",
"columnName": "editTime",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "commitStatu",
"columnName": "commitStatu",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "enable",
"columnName": "enable",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "feceType",
"columnName": "feceType",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "fenceId",
"columnName": "fenceId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "userId",
"columnName": "userId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "lat",
"columnName": "lat",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "lng",
"columnName": "lng",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "datatime",
"columnName": "datatime",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"uid"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "CommitSOS",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `editType` INTEGER NOT NULL, `editTime` INTEGER NOT NULL, `commitStatu` INTEGER NOT NULL, `enable` INTEGER NOT NULL, `bleMac` TEXT, `userId` INTEGER, `lat` REAL, `lng` REAL, `time` INTEGER, `faafRaw` BLOB)",
"fields": [
{
"fieldPath": "uid",
"columnName": "uid",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "editType",
"columnName": "editType",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "editTime",
"columnName": "editTime",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "commitStatu",
"columnName": "commitStatu",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "enable",
"columnName": "enable",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "bleMac",
"columnName": "bleMac",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "userId",
"columnName": "userId",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "lat",
"columnName": "lat",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "lng",
"columnName": "lng",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "time",
"columnName": "time",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "faafRaw",
"columnName": "faafRaw",
"affinity": "BLOB",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"uid"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "TransferChatMessage",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `upDownTag` INTEGER NOT NULL, `senderId` INTEGER NOT NULL, `senderMac` TEXT, `receiverId` INTEGER NOT NULL, `receiverMac` TEXT, `transferId` INTEGER NOT NULL, `transferMac` TEXT, `message` TEXT, `sendTime` INTEGER NOT NULL, `receiveTime` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "uid",
"columnName": "uid",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "upDownTag",
"columnName": "upDownTag",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "senderId",
"columnName": "senderId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "senderMac",
"columnName": "senderMac",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "receiverId",
"columnName": "receiverId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "receiverMac",
"columnName": "receiverMac",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "transferId",
"columnName": "transferId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "transferMac",
"columnName": "transferMac",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "message",
"columnName": "message",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "sendTime",
"columnName": "sendTime",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "receiveTime",
"columnName": "receiveTime",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"uid"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
}
],
"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, '7f7292ef40ed73cbab3c6f7fa73faeb2')"
]
}
}