Twidere-App-Android-Twitter.../twidere/schemas/org.mariotaku.twidere.conte.../2.json

67 lines
2.0 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 2,
"identityHash": "9ab8ea60785ca135c5f1dc50547c143f",
"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": [
{
"name": "index_account_daily_stats_createdAt_accountKey",
"unique": true,
"columnNames": [
"createdAt",
"accountKey"
],
"createSql": "CREATE UNIQUE INDEX `index_account_daily_stats_createdAt_accountKey` ON `${TABLE_NAME}` (`createdAt`, `accountKey`)"
}
],
"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, \"9ab8ea60785ca135c5f1dc50547c143f\")"
]
}
}