1{
2  "formatVersion": 1,
3  "database": {
4    "version": 1,
5    "identityHash": "b4f137b59556e1ed11444dca1e579446",
6    "entities": [
7      {
8        "tableName": "custom_audience",
9        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`owner` TEXT NOT NULL, `buyer` TEXT NOT NULL, `name` TEXT NOT NULL, `expiration_time` INTEGER NOT NULL, `activation_time` INTEGER NOT NULL, `creation_time` INTEGER NOT NULL, `last_ads_and_bidding_data_updated_time` INTEGER NOT NULL, `user_bidding_signals` TEXT, `bidding_logic_url` TEXT NOT NULL, `ads` TEXT, `trusted_bidding_data_url` TEXT, `trusted_bidding_data_keys` TEXT, PRIMARY KEY(`owner`, `buyer`, `name`))",
10        "fields": [
11          {
12            "fieldPath": "mOwner",
13            "columnName": "owner",
14            "affinity": "TEXT",
15            "notNull": true
16          },
17          {
18            "fieldPath": "mBuyer",
19            "columnName": "buyer",
20            "affinity": "TEXT",
21            "notNull": true
22          },
23          {
24            "fieldPath": "mName",
25            "columnName": "name",
26            "affinity": "TEXT",
27            "notNull": true
28          },
29          {
30            "fieldPath": "mExpirationTime",
31            "columnName": "expiration_time",
32            "affinity": "INTEGER",
33            "notNull": true
34          },
35          {
36            "fieldPath": "mActivationTime",
37            "columnName": "activation_time",
38            "affinity": "INTEGER",
39            "notNull": true
40          },
41          {
42            "fieldPath": "mCreationTime",
43            "columnName": "creation_time",
44            "affinity": "INTEGER",
45            "notNull": true
46          },
47          {
48            "fieldPath": "mLastAdsAndBiddingDataUpdatedTime",
49            "columnName": "last_ads_and_bidding_data_updated_time",
50            "affinity": "INTEGER",
51            "notNull": true
52          },
53          {
54            "fieldPath": "mUserBiddingSignals",
55            "columnName": "user_bidding_signals",
56            "affinity": "TEXT",
57            "notNull": false
58          },
59          {
60            "fieldPath": "mBiddingLogicUrl",
61            "columnName": "bidding_logic_url",
62            "affinity": "TEXT",
63            "notNull": true
64          },
65          {
66            "fieldPath": "mAds",
67            "columnName": "ads",
68            "affinity": "TEXT",
69            "notNull": false
70          },
71          {
72            "fieldPath": "mTrustedBiddingData.mUrl",
73            "columnName": "trusted_bidding_data_url",
74            "affinity": "TEXT",
75            "notNull": false
76          },
77          {
78            "fieldPath": "mTrustedBiddingData.mKeys",
79            "columnName": "trusted_bidding_data_keys",
80            "affinity": "TEXT",
81            "notNull": false
82          }
83        ],
84        "primaryKey": {
85          "columnNames": [
86            "owner",
87            "buyer",
88            "name"
89          ],
90          "autoGenerate": false
91        },
92        "indices": [
93          {
94            "name": "index_custom_audience_owner",
95            "unique": false,
96            "columnNames": [
97              "owner"
98            ],
99            "orders": [],
100            "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_owner` ON `${TABLE_NAME}` (`owner`)"
101          },
102          {
103            "name": "index_custom_audience_buyer",
104            "unique": false,
105            "columnNames": [
106              "buyer"
107            ],
108            "orders": [],
109            "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_buyer` ON `${TABLE_NAME}` (`buyer`)"
110          },
111          {
112            "name": "index_custom_audience_expiration_time",
113            "unique": false,
114            "columnNames": [
115              "expiration_time"
116            ],
117            "orders": [],
118            "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_expiration_time` ON `${TABLE_NAME}` (`expiration_time`)"
119          },
120          {
121            "name": "index_custom_audience_last_ads_and_bidding_data_updated_time",
122            "unique": false,
123            "columnNames": [
124              "last_ads_and_bidding_data_updated_time"
125            ],
126            "orders": [],
127            "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_last_ads_and_bidding_data_updated_time` ON `${TABLE_NAME}` (`last_ads_and_bidding_data_updated_time`)"
128          }
129        ],
130        "foreignKeys": []
131      },
132      {
133        "tableName": "custom_audience_background_fetch_data",
134        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`owner` TEXT NOT NULL, `buyer` TEXT NOT NULL, `name` TEXT NOT NULL, `daily_update_url` TEXT NOT NULL, `eligible_update_time` INTEGER NOT NULL, `num_validation_failures` INTEGER NOT NULL, `num_timeout_failures` INTEGER NOT NULL, PRIMARY KEY(`owner`, `buyer`, `name`))",
135        "fields": [
136          {
137            "fieldPath": "owner",
138            "columnName": "owner",
139            "affinity": "TEXT",
140            "notNull": true
141          },
142          {
143            "fieldPath": "buyer",
144            "columnName": "buyer",
145            "affinity": "TEXT",
146            "notNull": true
147          },
148          {
149            "fieldPath": "name",
150            "columnName": "name",
151            "affinity": "TEXT",
152            "notNull": true
153          },
154          {
155            "fieldPath": "dailyUpdateUrl",
156            "columnName": "daily_update_url",
157            "affinity": "TEXT",
158            "notNull": true
159          },
160          {
161            "fieldPath": "eligibleUpdateTime",
162            "columnName": "eligible_update_time",
163            "affinity": "INTEGER",
164            "notNull": true
165          },
166          {
167            "fieldPath": "numValidationFailures",
168            "columnName": "num_validation_failures",
169            "affinity": "INTEGER",
170            "notNull": true
171          },
172          {
173            "fieldPath": "numTimeoutFailures",
174            "columnName": "num_timeout_failures",
175            "affinity": "INTEGER",
176            "notNull": true
177          }
178        ],
179        "primaryKey": {
180          "columnNames": [
181            "owner",
182            "buyer",
183            "name"
184          ],
185          "autoGenerate": false
186        },
187        "indices": [
188          {
189            "name": "index_custom_audience_background_fetch_data_owner",
190            "unique": false,
191            "columnNames": [
192              "owner"
193            ],
194            "orders": [],
195            "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_background_fetch_data_owner` ON `${TABLE_NAME}` (`owner`)"
196          },
197          {
198            "name": "index_custom_audience_background_fetch_data_buyer",
199            "unique": false,
200            "columnNames": [
201              "buyer"
202            ],
203            "orders": [],
204            "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_background_fetch_data_buyer` ON `${TABLE_NAME}` (`buyer`)"
205          },
206          {
207            "name": "index_custom_audience_background_fetch_data_name",
208            "unique": false,
209            "columnNames": [
210              "name"
211            ],
212            "orders": [],
213            "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_background_fetch_data_name` ON `${TABLE_NAME}` (`name`)"
214          },
215          {
216            "name": "index_custom_audience_background_fetch_data_eligible_update_time",
217            "unique": false,
218            "columnNames": [
219              "eligible_update_time"
220            ],
221            "orders": [],
222            "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_background_fetch_data_eligible_update_time` ON `${TABLE_NAME}` (`eligible_update_time`)"
223          }
224        ],
225        "foreignKeys": []
226      },
227      {
228        "tableName": "custom_audience_overrides",
229        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`owner` TEXT NOT NULL, `buyer` TEXT NOT NULL, `name` TEXT NOT NULL, `app_package_name` TEXT NOT NULL, `bidding_logic` TEXT NOT NULL, `trusted_bidding_data` TEXT NOT NULL, PRIMARY KEY(`owner`, `buyer`, `name`))",
230        "fields": [
231          {
232            "fieldPath": "owner",
233            "columnName": "owner",
234            "affinity": "TEXT",
235            "notNull": true
236          },
237          {
238            "fieldPath": "buyer",
239            "columnName": "buyer",
240            "affinity": "TEXT",
241            "notNull": true
242          },
243          {
244            "fieldPath": "name",
245            "columnName": "name",
246            "affinity": "TEXT",
247            "notNull": true
248          },
249          {
250            "fieldPath": "appPackageName",
251            "columnName": "app_package_name",
252            "affinity": "TEXT",
253            "notNull": true
254          },
255          {
256            "fieldPath": "biddingLogicJS",
257            "columnName": "bidding_logic",
258            "affinity": "TEXT",
259            "notNull": true
260          },
261          {
262            "fieldPath": "trustedBiddingData",
263            "columnName": "trusted_bidding_data",
264            "affinity": "TEXT",
265            "notNull": true
266          }
267        ],
268        "primaryKey": {
269          "columnNames": [
270            "owner",
271            "buyer",
272            "name"
273          ],
274          "autoGenerate": false
275        },
276        "indices": [],
277        "foreignKeys": []
278      }
279    ],
280    "views": [],
281    "setupQueries": [
282      "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
283      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'b4f137b59556e1ed11444dca1e579446')"
284    ]
285  }
286}