Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / passwords / schemas / com.vayunmathur.passwords.data.PasswordDatabase / 2.json

2.json60 lines · 1.7 KiBRaw
1{
2 "formatVersion": 1,
3 "database": {
4 "version": 2,
5 "identityHash": "9d6bc08aa62f939086806a13f63e941f",
6 "entities": [
7 {
8 "tableName": "passwords",
9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `userId` TEXT NOT NULL, `password` TEXT NOT NULL, `totpSecret` TEXT, `websites` TEXT NOT NULL)",
10 "fields": [
11 {
12 "fieldPath": "id",
13 "columnName": "id",
14 "affinity": "INTEGER",
15 "notNull": true
16 },
17 {
18 "fieldPath": "name",
19 "columnName": "name",
20 "affinity": "TEXT",
21 "notNull": true
22 },
23 {
24 "fieldPath": "userId",
25 "columnName": "userId",
26 "affinity": "TEXT",
27 "notNull": true
28 },
29 {
30 "fieldPath": "password",
31 "columnName": "password",
32 "affinity": "TEXT",
33 "notNull": true
34 },
35 {
36 "fieldPath": "totpSecret",
37 "columnName": "totpSecret",
38 "affinity": "TEXT"
39 },
40 {
41 "fieldPath": "websites",
42 "columnName": "websites",
43 "affinity": "TEXT",
44 "notNull": true
45 }
46 ],
47 "primaryKey": {
48 "autoGenerate": true,
49 "columnNames": [
50 "id"
51 ]
52 }
53 }
54 ],
55 "setupQueries": [
56 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
57 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '9d6bc08aa62f939086806a13f63e941f')"
58 ]
59 }
60}