57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
|
{
|
||
|
"formatVersion": 1,
|
||
|
"database": {
|
||
|
"version": 1,
|
||
|
"identityHash": "df1fe758472ff9d1d8e21da6f4d8b5fc",
|
||
|
"entities": [
|
||
|
{
|
||
|
"tableName": "account_daily_stats",
|
||
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`rowId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `createdAt` TEXT NOT NULL, `accountKey` TEXT NOT NULL, `statusesCount` INTEGER NOT NULL, `followersCount` INTEGER NOT NULL)",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "rowId",
|
||
|
"columnName": "rowId",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createdAt",
|
||
|
"columnName": "createdAt",
|
||
|
"affinity": "TEXT",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "accountKey",
|
||
|
"columnName": "accountKey",
|
||
|
"affinity": "TEXT",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "statusesCount",
|
||
|
"columnName": "statusesCount",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "followersCount",
|
||
|
"columnName": "followersCount",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
}
|
||
|
],
|
||
|
"primaryKey": {
|
||
|
"columnNames": [
|
||
|
"rowId"
|
||
|
],
|
||
|
"autoGenerate": true
|
||
|
},
|
||
|
"indices": [],
|
||
|
"foreignKeys": []
|
||
|
}
|
||
|
],
|
||
|
"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, \"df1fe758472ff9d1d8e21da6f4d8b5fc\")"
|
||
|
]
|
||
|
}
|
||
|
}
|