android-components/components/feature/addons/schemas/mozilla.components.feature..../1.json

58 lines
1.7 KiB
JSON
Executable File

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "827e1c60d24034d74c143a305c63a6d9",
"entities": [
{
"tableName": "update_attempts",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`addon_id` TEXT NOT NULL, `date` INTEGER NOT NULL, `status` INTEGER NOT NULL, `error_message` TEXT NOT NULL, `error_trace` TEXT NOT NULL, PRIMARY KEY(`addon_id`))",
"fields": [
{
"fieldPath": "addonId",
"columnName": "addon_id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "date",
"columnName": "date",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "status",
"columnName": "status",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "errorMessage",
"columnName": "error_message",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "errorTrace",
"columnName": "error_trace",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"addon_id"
],
"autoGenerate": false
},
"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, '827e1c60d24034d74c143a305c63a6d9')"
]
}
}