• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "formatVersion": 1,
3  "database": {
4    "version": 4,
5    "identityHash": "abbae5f17d94ff7c2c7e05ca217ccc31",
6    "entities": [
7      {
8        "tableName": "Entity1",
9        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT, PRIMARY KEY(`id`))",
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": false
22          }
23        ],
24        "primaryKey": {
25          "columnNames": [
26            "id"
27          ],
28          "autoGenerate": false
29        },
30        "indices": []
31      },
32      {
33        "tableName": "Entity2",
34        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `addedInV3` TEXT, `name` TEXT, PRIMARY KEY(`id`))",
35        "fields": [
36          {
37            "fieldPath": "id",
38            "columnName": "id",
39            "affinity": "INTEGER",
40            "notNull": true
41          },
42          {
43            "fieldPath": "addedInV3",
44            "columnName": "addedInV3",
45            "affinity": "TEXT",
46            "notNull": false
47          },
48          {
49            "fieldPath": "name",
50            "columnName": "name",
51            "affinity": "TEXT",
52            "notNull": false
53          }
54        ],
55        "primaryKey": {
56          "columnNames": [
57            "id"
58          ],
59          "autoGenerate": false
60        },
61        "indices": []
62      },
63      {
64        "tableName": "Entity3",
65        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER, `removedInV5` TEXT, `name` TEXT, PRIMARY KEY(`id`))",
66        "fields": [
67          {
68            "fieldPath": "id",
69            "columnName": "id",
70            "affinity": "INTEGER",
71            "notNull": true
72          },
73          {
74            "fieldPath": "removedInV5",
75            "columnName": "removedInV5",
76            "affinity": "TEXT",
77            "notNull": false
78          },
79          {
80            "fieldPath": "name",
81            "columnName": "name",
82            "affinity": "TEXT",
83            "notNull": false
84          }
85        ],
86        "primaryKey": {
87          "columnNames": [
88            "id"
89          ],
90          "autoGenerate": false
91        },
92        "indices": []
93      }
94    ],
95    "setupQueries": [
96      "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
97      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"abbae5f17d94ff7c2c7e05ca217ccc31\")"
98    ]
99  }
100}