1{
2  "formatVersion": 1,
3  "database": {
4    "version": 1,
5    "identityHash": "b3ce799d93efad7dd463b10234bc24f8",
6    "entities": [
7      {
8        "tableName": "encryption_key",
9        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`encryption_key_type` INTEGER NOT NULL, `key_identifier` TEXT NOT NULL, `public_key` TEXT NOT NULL, `creation_instant` INTEGER, `expiry_ttl_seconds` INTEGER NOT NULL, `expiry_instant` INTEGER NOT NULL, PRIMARY KEY(`encryption_key_type`, `key_identifier`))",
10        "fields": [
11          {
12            "fieldPath": "encryptionKeyType",
13            "columnName": "encryption_key_type",
14            "affinity": "INTEGER",
15            "notNull": true
16          },
17          {
18            "fieldPath": "keyIdentifier",
19            "columnName": "key_identifier",
20            "affinity": "TEXT",
21            "notNull": true
22          },
23          {
24            "fieldPath": "publicKey",
25            "columnName": "public_key",
26            "affinity": "TEXT",
27            "notNull": true
28          },
29          {
30            "fieldPath": "creationInstant",
31            "columnName": "creation_instant",
32            "affinity": "INTEGER",
33            "notNull": false
34          },
35          {
36            "fieldPath": "expiryTtlSeconds",
37            "columnName": "expiry_ttl_seconds",
38            "affinity": "INTEGER",
39            "notNull": true
40          },
41          {
42            "fieldPath": "expiryInstant",
43            "columnName": "expiry_instant",
44            "affinity": "INTEGER",
45            "notNull": true
46          }
47        ],
48        "primaryKey": {
49          "autoGenerate": false,
50          "columnNames": [
51            "encryption_key_type",
52            "key_identifier"
53          ]
54        },
55        "indices": [
56          {
57            "name": "index_encryption_key_encryption_key_type_expiry_instant",
58            "unique": false,
59            "columnNames": [
60              "encryption_key_type",
61              "expiry_instant"
62            ],
63            "orders": [],
64            "createSql": "CREATE INDEX IF NOT EXISTS `index_encryption_key_encryption_key_type_expiry_instant` ON `${TABLE_NAME}` (`encryption_key_type`, `expiry_instant`)"
65          }
66        ],
67        "foreignKeys": []
68      },
69      {
70        "tableName": "encryption_context",
71        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`context_id` INTEGER NOT NULL, `encryption_key_type` INTEGER NOT NULL, `key_config` BLOB, `shared_secret` BLOB, `seed` BLOB, PRIMARY KEY(`context_id`, `encryption_key_type`))",
72        "fields": [
73          {
74            "fieldPath": "contextId",
75            "columnName": "context_id",
76            "affinity": "INTEGER",
77            "notNull": true
78          },
79          {
80            "fieldPath": "encryptionKeyType",
81            "columnName": "encryption_key_type",
82            "affinity": "INTEGER",
83            "notNull": true
84          },
85          {
86            "fieldPath": "keyConfig",
87            "columnName": "key_config",
88            "affinity": "BLOB",
89            "notNull": false
90          },
91          {
92            "fieldPath": "sharedSecret",
93            "columnName": "shared_secret",
94            "affinity": "BLOB",
95            "notNull": false
96          },
97          {
98            "fieldPath": "seed",
99            "columnName": "seed",
100            "affinity": "BLOB",
101            "notNull": false
102          }
103        ],
104        "primaryKey": {
105          "autoGenerate": false,
106          "columnNames": [
107            "context_id",
108            "encryption_key_type"
109          ]
110        },
111        "indices": [],
112        "foreignKeys": []
113      },
114      {
115        "tableName": "reporting_uris",
116        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ad_selection_id` INTEGER NOT NULL, `seller_reporting_uri` TEXT NOT NULL, `buyer_reporting_uri` TEXT NOT NULL, PRIMARY KEY(`ad_selection_id`))",
117        "fields": [
118          {
119            "fieldPath": "adSelectionId",
120            "columnName": "ad_selection_id",
121            "affinity": "INTEGER",
122            "notNull": true
123          },
124          {
125            "fieldPath": "sellerReportingUri",
126            "columnName": "seller_reporting_uri",
127            "affinity": "TEXT",
128            "notNull": true
129          },
130          {
131            "fieldPath": "buyerReportingUri",
132            "columnName": "buyer_reporting_uri",
133            "affinity": "TEXT",
134            "notNull": true
135          }
136        ],
137        "primaryKey": {
138          "autoGenerate": false,
139          "columnNames": [
140            "ad_selection_id"
141          ]
142        },
143        "indices": [
144          {
145            "name": "index_reporting_uris_ad_selection_id",
146            "unique": false,
147            "columnNames": [
148              "ad_selection_id"
149            ],
150            "orders": [],
151            "createSql": "CREATE INDEX IF NOT EXISTS `index_reporting_uris_ad_selection_id` ON `${TABLE_NAME}` (`ad_selection_id`)"
152          }
153        ],
154        "foreignKeys": []
155      }
156    ],
157    "views": [],
158    "setupQueries": [
159      "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
160      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'b3ce799d93efad7dd463b10234bc24f8')"
161    ]
162  }
163}