1{
2  "formatVersion": 1,
3  "database": {
4    "version": 6,
5    "identityHash": "ef50393e2415e75952fb8fdc3a422f64",
6    "entities": [
7      {
8        "tableName": "ad_selection",
9        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ad_selection_id` INTEGER NOT NULL, `contextual_signals` TEXT, `bidding_logic_uri` TEXT, `winning_ad_render_uri` TEXT, `winning_ad_bid` REAL NOT NULL, `creation_timestamp` INTEGER, `caller_package_name` TEXT, `ad_counter_keys` TEXT, `ad_counter_int_keys` TEXT, `seller_contextual_signals` TEXT, `custom_audience_signals_owner` TEXT, `custom_audience_signals_buyer` TEXT, `custom_audience_signals_name` TEXT, `custom_audience_signals_activation_time` INTEGER, `custom_audience_signals_expiration_time` INTEGER, `custom_audience_signals_user_bidding_signals` TEXT, PRIMARY KEY(`ad_selection_id`))",
10        "fields": [
11          {
12            "fieldPath": "mAdSelectionId",
13            "columnName": "ad_selection_id",
14            "affinity": "INTEGER",
15            "notNull": true
16          },
17          {
18            "fieldPath": "mBuyerContextualSignals",
19            "columnName": "contextual_signals",
20            "affinity": "TEXT",
21            "notNull": false
22          },
23          {
24            "fieldPath": "mBiddingLogicUri",
25            "columnName": "bidding_logic_uri",
26            "affinity": "TEXT",
27            "notNull": false
28          },
29          {
30            "fieldPath": "mWinningAdRenderUri",
31            "columnName": "winning_ad_render_uri",
32            "affinity": "TEXT",
33            "notNull": false
34          },
35          {
36            "fieldPath": "mWinningAdBid",
37            "columnName": "winning_ad_bid",
38            "affinity": "REAL",
39            "notNull": true
40          },
41          {
42            "fieldPath": "mCreationTimestamp",
43            "columnName": "creation_timestamp",
44            "affinity": "INTEGER",
45            "notNull": false
46          },
47          {
48            "fieldPath": "mCallerPackageName",
49            "columnName": "caller_package_name",
50            "affinity": "TEXT",
51            "notNull": false
52          },
53          {
54            "fieldPath": "mAdCounterKeys",
55            "columnName": "ad_counter_keys",
56            "affinity": "TEXT",
57            "notNull": false
58          },
59          {
60            "fieldPath": "mAdCounterIntKeys",
61            "columnName": "ad_counter_int_keys",
62            "affinity": "TEXT",
63            "notNull": false
64          },
65          {
66            "fieldPath": "mSellerContextualSignals",
67            "columnName": "seller_contextual_signals",
68            "affinity": "TEXT",
69            "notNull": false
70          },
71          {
72            "fieldPath": "mCustomAudienceSignals.mOwner",
73            "columnName": "custom_audience_signals_owner",
74            "affinity": "TEXT",
75            "notNull": false
76          },
77          {
78            "fieldPath": "mCustomAudienceSignals.mBuyer",
79            "columnName": "custom_audience_signals_buyer",
80            "affinity": "TEXT",
81            "notNull": false
82          },
83          {
84            "fieldPath": "mCustomAudienceSignals.mName",
85            "columnName": "custom_audience_signals_name",
86            "affinity": "TEXT",
87            "notNull": false
88          },
89          {
90            "fieldPath": "mCustomAudienceSignals.mActivationTime",
91            "columnName": "custom_audience_signals_activation_time",
92            "affinity": "INTEGER",
93            "notNull": false
94          },
95          {
96            "fieldPath": "mCustomAudienceSignals.mExpirationTime",
97            "columnName": "custom_audience_signals_expiration_time",
98            "affinity": "INTEGER",
99            "notNull": false
100          },
101          {
102            "fieldPath": "mCustomAudienceSignals.mUserBiddingSignals",
103            "columnName": "custom_audience_signals_user_bidding_signals",
104            "affinity": "TEXT",
105            "notNull": false
106          }
107        ],
108        "primaryKey": {
109          "autoGenerate": false,
110          "columnNames": [
111            "ad_selection_id"
112          ]
113        },
114        "indices": [
115          {
116            "name": "index_ad_selection_bidding_logic_uri",
117            "unique": false,
118            "columnNames": [
119              "bidding_logic_uri"
120            ],
121            "orders": [],
122            "createSql": "CREATE INDEX IF NOT EXISTS `index_ad_selection_bidding_logic_uri` ON `${TABLE_NAME}` (`bidding_logic_uri`)"
123          }
124        ],
125        "foreignKeys": []
126      },
127      {
128        "tableName": "buyer_decision_logic",
129        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`bidding_logic_uri` TEXT NOT NULL, `buyer_decision_logic_js` TEXT NOT NULL, PRIMARY KEY(`bidding_logic_uri`))",
130        "fields": [
131          {
132            "fieldPath": "mBiddingLogicUri",
133            "columnName": "bidding_logic_uri",
134            "affinity": "TEXT",
135            "notNull": true
136          },
137          {
138            "fieldPath": "mBuyerDecisionLogicJs",
139            "columnName": "buyer_decision_logic_js",
140            "affinity": "TEXT",
141            "notNull": true
142          }
143        ],
144        "primaryKey": {
145          "autoGenerate": false,
146          "columnNames": [
147            "bidding_logic_uri"
148          ]
149        },
150        "indices": [],
151        "foreignKeys": []
152      },
153      {
154        "tableName": "ad_selection_overrides",
155        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ad_selection_config_id` TEXT NOT NULL, `app_package_name` TEXT NOT NULL, `decision_logic` TEXT NOT NULL, `trusted_scoring_signals` TEXT NOT NULL, PRIMARY KEY(`ad_selection_config_id`))",
156        "fields": [
157          {
158            "fieldPath": "adSelectionConfigId",
159            "columnName": "ad_selection_config_id",
160            "affinity": "TEXT",
161            "notNull": true
162          },
163          {
164            "fieldPath": "appPackageName",
165            "columnName": "app_package_name",
166            "affinity": "TEXT",
167            "notNull": true
168          },
169          {
170            "fieldPath": "decisionLogicJS",
171            "columnName": "decision_logic",
172            "affinity": "TEXT",
173            "notNull": true
174          },
175          {
176            "fieldPath": "trustedScoringSignals",
177            "columnName": "trusted_scoring_signals",
178            "affinity": "TEXT",
179            "notNull": true
180          }
181        ],
182        "primaryKey": {
183          "autoGenerate": false,
184          "columnNames": [
185            "ad_selection_config_id"
186          ]
187        },
188        "indices": [],
189        "foreignKeys": []
190      },
191      {
192        "tableName": "ad_selection_from_outcomes_overrides",
193        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ad_selection_from_outcomes_config_id` TEXT NOT NULL, `app_package_name` TEXT NOT NULL, `selection_logic_js` TEXT NOT NULL, `selection_signals` TEXT NOT NULL, PRIMARY KEY(`ad_selection_from_outcomes_config_id`))",
194        "fields": [
195          {
196            "fieldPath": "adSelectionFromOutcomesConfigId",
197            "columnName": "ad_selection_from_outcomes_config_id",
198            "affinity": "TEXT",
199            "notNull": true
200          },
201          {
202            "fieldPath": "appPackageName",
203            "columnName": "app_package_name",
204            "affinity": "TEXT",
205            "notNull": true
206          },
207          {
208            "fieldPath": "selectionLogicJs",
209            "columnName": "selection_logic_js",
210            "affinity": "TEXT",
211            "notNull": true
212          },
213          {
214            "fieldPath": "selectionSignals",
215            "columnName": "selection_signals",
216            "affinity": "TEXT",
217            "notNull": true
218          }
219        ],
220        "primaryKey": {
221          "autoGenerate": false,
222          "columnNames": [
223            "ad_selection_from_outcomes_config_id"
224          ]
225        },
226        "indices": [],
227        "foreignKeys": []
228      },
229      {
230        "tableName": "registered_ad_interactions",
231        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ad_selection_id` INTEGER NOT NULL, `interaction_key` TEXT NOT NULL, `destination` INTEGER NOT NULL, `interaction_reporting_uri` TEXT NOT NULL, PRIMARY KEY(`ad_selection_id`, `interaction_key`, `destination`))",
232        "fields": [
233          {
234            "fieldPath": "adSelectionId",
235            "columnName": "ad_selection_id",
236            "affinity": "INTEGER",
237            "notNull": true
238          },
239          {
240            "fieldPath": "interactionKey",
241            "columnName": "interaction_key",
242            "affinity": "TEXT",
243            "notNull": true
244          },
245          {
246            "fieldPath": "destination",
247            "columnName": "destination",
248            "affinity": "INTEGER",
249            "notNull": true
250          },
251          {
252            "fieldPath": "interactionReportingUri",
253            "columnName": "interaction_reporting_uri",
254            "affinity": "TEXT",
255            "notNull": true
256          }
257        ],
258        "primaryKey": {
259          "autoGenerate": false,
260          "columnNames": [
261            "ad_selection_id",
262            "interaction_key",
263            "destination"
264          ]
265        },
266        "indices": [],
267        "foreignKeys": []
268      },
269      {
270        "tableName": "ad_selection_buyer_logic_overrides",
271        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ad_selection_config_id` TEXT NOT NULL, `app_package_name` TEXT NOT NULL, `buyer_identifier` TEXT NOT NULL, `decision_logic` TEXT NOT NULL, PRIMARY KEY(`ad_selection_config_id`, `buyer_identifier`))",
272        "fields": [
273          {
274            "fieldPath": "adSelectionConfigId",
275            "columnName": "ad_selection_config_id",
276            "affinity": "TEXT",
277            "notNull": true
278          },
279          {
280            "fieldPath": "appPackageName",
281            "columnName": "app_package_name",
282            "affinity": "TEXT",
283            "notNull": true
284          },
285          {
286            "fieldPath": "buyer",
287            "columnName": "buyer_identifier",
288            "affinity": "TEXT",
289            "notNull": true
290          },
291          {
292            "fieldPath": "decisionLogic",
293            "columnName": "decision_logic",
294            "affinity": "TEXT",
295            "notNull": true
296          }
297        ],
298        "primaryKey": {
299          "autoGenerate": false,
300          "columnNames": [
301            "ad_selection_config_id",
302            "buyer_identifier"
303          ]
304        },
305        "indices": [],
306        "foreignKeys": []
307      }
308    ],
309    "views": [],
310    "setupQueries": [
311      "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
312      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'ef50393e2415e75952fb8fdc3a422f64')"
313    ]
314  }
315}