106 lines
3.1 KiB
JSON
106 lines
3.1 KiB
JSON
{
|
|
"formatVersion": 1,
|
|
"database": {
|
|
"version": 1,
|
|
"identityHash": "53d643f378ffabb9bd62c9aa47546bc6",
|
|
"entities": [
|
|
{
|
|
"tableName": "DownloadInfoEntity",
|
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `localCipherId` TEXT NOT NULL, `remoteCipherId` TEXT, `attachmentId` TEXT NOT NULL, `url` TEXT NOT NULL, `urlIsOneTime` INTEGER NOT NULL, `name` TEXT NOT NULL, `createdDate` INTEGER NOT NULL, `revisionDate` INTEGER NOT NULL, `encryptionKeyBase64` TEXT, `code` INTEGER, `attempt` INTEGER, `message` TEXT, PRIMARY KEY(`id`))",
|
|
"fields": [
|
|
{
|
|
"fieldPath": "id",
|
|
"columnName": "id",
|
|
"affinity": "TEXT",
|
|
"notNull": true
|
|
},
|
|
{
|
|
"fieldPath": "localCipherId",
|
|
"columnName": "localCipherId",
|
|
"affinity": "TEXT",
|
|
"notNull": true
|
|
},
|
|
{
|
|
"fieldPath": "remoteCipherId",
|
|
"columnName": "remoteCipherId",
|
|
"affinity": "TEXT",
|
|
"notNull": false
|
|
},
|
|
{
|
|
"fieldPath": "attachmentId",
|
|
"columnName": "attachmentId",
|
|
"affinity": "TEXT",
|
|
"notNull": true
|
|
},
|
|
{
|
|
"fieldPath": "url",
|
|
"columnName": "url",
|
|
"affinity": "TEXT",
|
|
"notNull": true
|
|
},
|
|
{
|
|
"fieldPath": "urlIsOneTime",
|
|
"columnName": "urlIsOneTime",
|
|
"affinity": "INTEGER",
|
|
"notNull": true
|
|
},
|
|
{
|
|
"fieldPath": "name",
|
|
"columnName": "name",
|
|
"affinity": "TEXT",
|
|
"notNull": true
|
|
},
|
|
{
|
|
"fieldPath": "createdDate",
|
|
"columnName": "createdDate",
|
|
"affinity": "INTEGER",
|
|
"notNull": true
|
|
},
|
|
{
|
|
"fieldPath": "revisionDate",
|
|
"columnName": "revisionDate",
|
|
"affinity": "INTEGER",
|
|
"notNull": true
|
|
},
|
|
{
|
|
"fieldPath": "encryptionKeyBase64",
|
|
"columnName": "encryptionKeyBase64",
|
|
"affinity": "TEXT",
|
|
"notNull": false
|
|
},
|
|
{
|
|
"fieldPath": "error.code",
|
|
"columnName": "code",
|
|
"affinity": "INTEGER",
|
|
"notNull": false
|
|
},
|
|
{
|
|
"fieldPath": "error.attempt",
|
|
"columnName": "attempt",
|
|
"affinity": "INTEGER",
|
|
"notNull": false
|
|
},
|
|
{
|
|
"fieldPath": "error.message",
|
|
"columnName": "message",
|
|
"affinity": "TEXT",
|
|
"notNull": false
|
|
}
|
|
],
|
|
"primaryKey": {
|
|
"autoGenerate": false,
|
|
"columnNames": [
|
|
"id"
|
|
]
|
|
},
|
|
"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, '53d643f378ffabb9bd62c9aa47546bc6')"
|
|
]
|
|
}
|
|
} |