bitwarden-android/app/schemas/com.x8bit.bitwarden.data.tools.generator.datasource.disk.database.PasswordHistoryDatabase/1.json

52 lines
1.5 KiB
JSON
Raw Normal View History

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "86716edbff0f8bc81159fd7c35f39fb1",
"entities": [
{
"tableName": "password_history",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `userId` TEXT NOT NULL, `encrypted_password` TEXT NOT NULL, `generated_date_time_ms` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "userId",
"columnName": "userId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "encryptedPassword",
"columnName": "encrypted_password",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "generatedDateTimeMs",
"columnName": "generated_date_time_ms",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"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, '86716edbff0f8bc81159fd7c35f39fb1')"
]
}
}