android-components/components/feature/sitepermissions/schemas/mozilla.components.feature..../5.json

94 lines
2.9 KiB
JSON
Executable File

{
"formatVersion": 1,
"database": {
"version": 5,
"identityHash": "f5379c8eb4f1519eb5994e508626ca10",
"entities": [
{
"tableName": "site_permissions",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`origin` TEXT NOT NULL, `location` INTEGER NOT NULL, `notification` INTEGER NOT NULL, `microphone` INTEGER NOT NULL, `camera` INTEGER NOT NULL, `bluetooth` INTEGER NOT NULL, `local_storage` INTEGER NOT NULL, `autoplay_audible` INTEGER NOT NULL, `autoplay_inaudible` INTEGER NOT NULL, `media_key_system_access` INTEGER NOT NULL, `saved_at` INTEGER NOT NULL, PRIMARY KEY(`origin`))",
"fields": [
{
"fieldPath": "origin",
"columnName": "origin",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "location",
"columnName": "location",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "notification",
"columnName": "notification",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "microphone",
"columnName": "microphone",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "camera",
"columnName": "camera",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "bluetooth",
"columnName": "bluetooth",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "localStorage",
"columnName": "local_storage",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "autoplayAudible",
"columnName": "autoplay_audible",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "autoplayInaudible",
"columnName": "autoplay_inaudible",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "mediaKeySystemAccess",
"columnName": "media_key_system_access",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "savedAt",
"columnName": "saved_at",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"origin"
],
"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, 'f5379c8eb4f1519eb5994e508626ca10')"
]
}
}