1{
2  "formatVersion": 1,
3  "database": {
4    "version": 1,
5    "identityHash": "2503686a7a6d230bea108675265d7d7c",
6    "entities": [
7      {
8        "tableName": "server_parameters",
9        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`server_public_parameters` BLOB NOT NULL, `server_params_join_expiry_instant` INTEGER NOT NULL, `server_params_sign_expiry_instant` INTEGER NOT NULL, `creation_instant` INTEGER NOT NULL DEFAULT CURRENT_TIMESTAMP, `server_params_version` TEXT NOT NULL, PRIMARY KEY(`creation_instant`))",
10        "fields": [
11          {
12            "fieldPath": "serverPublicParameters",
13            "columnName": "server_public_parameters",
14            "affinity": "BLOB",
15            "notNull": true
16          },
17          {
18            "fieldPath": "serverParamsJoinExpiryInstant",
19            "columnName": "server_params_join_expiry_instant",
20            "affinity": "INTEGER",
21            "notNull": true
22          },
23          {
24            "fieldPath": "serverParamsSignExpiryInstant",
25            "columnName": "server_params_sign_expiry_instant",
26            "affinity": "INTEGER",
27            "notNull": true
28          },
29          {
30            "fieldPath": "creationInstant",
31            "columnName": "creation_instant",
32            "affinity": "INTEGER",
33            "notNull": true,
34            "defaultValue": "CURRENT_TIMESTAMP"
35          },
36          {
37            "fieldPath": "serverParamsVersion",
38            "columnName": "server_params_version",
39            "affinity": "TEXT",
40            "notNull": true
41          }
42        ],
43        "primaryKey": {
44          "autoGenerate": false,
45          "columnNames": [
46            "creation_instant"
47          ]
48        },
49        "indices": [],
50        "foreignKeys": []
51      },
52      {
53        "tableName": "client_parameters",
54        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`client_public_parameters` BLOB NOT NULL, `client_private_parameters` BLOB NOT NULL, `expiry_instant` INTEGER NOT NULL, `client_id` BLOB NOT NULL, `client_parameters_id` INTEGER PRIMARY KEY AUTOINCREMENT, `client_params_version` TEXT NOT NULL)",
55        "fields": [
56          {
57            "fieldPath": "clientPublicParameters",
58            "columnName": "client_public_parameters",
59            "affinity": "BLOB",
60            "notNull": true
61          },
62          {
63            "fieldPath": "clientPrivateParameters",
64            "columnName": "client_private_parameters",
65            "affinity": "BLOB",
66            "notNull": true
67          },
68          {
69            "fieldPath": "clientParametersExpiryInstant",
70            "columnName": "expiry_instant",
71            "affinity": "INTEGER",
72            "notNull": true
73          },
74          {
75            "fieldPath": "clientId",
76            "columnName": "client_id",
77            "affinity": "BLOB",
78            "notNull": true
79          },
80          {
81            "fieldPath": "clientParametersId",
82            "columnName": "client_parameters_id",
83            "affinity": "INTEGER",
84            "notNull": false
85          },
86          {
87            "fieldPath": "clientParamsVersion",
88            "columnName": "client_params_version",
89            "affinity": "TEXT",
90            "notNull": true
91          }
92        ],
93        "primaryKey": {
94          "autoGenerate": true,
95          "columnNames": [
96            "client_parameters_id"
97          ]
98        },
99        "indices": [],
100        "foreignKeys": []
101      },
102      {
103        "tableName": "kanon_messages",
104        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`message_id` INTEGER PRIMARY KEY AUTOINCREMENT, `created_at` INTEGER NOT NULL, `expiry_instant` INTEGER NOT NULL, `corresponding_client_parameters_id` INTEGER, `corresponding_client_parameters_expiry_instant` INTEGER, `ad_selection_id` INTEGER NOT NULL, `kanon_hash_set` TEXT NOT NULL, `status` INTEGER NOT NULL)",
105        "fields": [
106          {
107            "fieldPath": "messageId",
108            "columnName": "message_id",
109            "affinity": "INTEGER",
110            "notNull": false
111          },
112          {
113            "fieldPath": "createdAt",
114            "columnName": "created_at",
115            "affinity": "INTEGER",
116            "notNull": true
117          },
118          {
119            "fieldPath": "expiryInstant",
120            "columnName": "expiry_instant",
121            "affinity": "INTEGER",
122            "notNull": true
123          },
124          {
125            "fieldPath": "correspondingClientParametersId",
126            "columnName": "corresponding_client_parameters_id",
127            "affinity": "INTEGER",
128            "notNull": false
129          },
130          {
131            "fieldPath": "correspondingClientParametersExpiryInstant",
132            "columnName": "corresponding_client_parameters_expiry_instant",
133            "affinity": "INTEGER",
134            "notNull": false
135          },
136          {
137            "fieldPath": "adSelectionId",
138            "columnName": "ad_selection_id",
139            "affinity": "INTEGER",
140            "notNull": true
141          },
142          {
143            "fieldPath": "kanonHashSet",
144            "columnName": "kanon_hash_set",
145            "affinity": "TEXT",
146            "notNull": true
147          },
148          {
149            "fieldPath": "status",
150            "columnName": "status",
151            "affinity": "INTEGER",
152            "notNull": true
153          }
154        ],
155        "primaryKey": {
156          "autoGenerate": true,
157          "columnNames": [
158            "message_id"
159          ]
160        },
161        "indices": [],
162        "foreignKeys": []
163      }
164    ],
165    "views": [],
166    "setupQueries": [
167      "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
168      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '2503686a7a6d230bea108675265d7d7c')"
169    ]
170  }
171}