1{ 2 "formatVersion": 1, 3 "database": { 4 "version": 2, 5 "identityHash": "b7064b7bc7999ac2d91b3c66caf0f77a", 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, `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": "mContextualSignals", 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": "mCustomAudienceSignals.mOwner", 55 "columnName": "custom_audience_signals_owner", 56 "affinity": "TEXT", 57 "notNull": false 58 }, 59 { 60 "fieldPath": "mCustomAudienceSignals.mBuyer", 61 "columnName": "custom_audience_signals_buyer", 62 "affinity": "TEXT", 63 "notNull": false 64 }, 65 { 66 "fieldPath": "mCustomAudienceSignals.mName", 67 "columnName": "custom_audience_signals_name", 68 "affinity": "TEXT", 69 "notNull": false 70 }, 71 { 72 "fieldPath": "mCustomAudienceSignals.mActivationTime", 73 "columnName": "custom_audience_signals_activation_time", 74 "affinity": "INTEGER", 75 "notNull": false 76 }, 77 { 78 "fieldPath": "mCustomAudienceSignals.mExpirationTime", 79 "columnName": "custom_audience_signals_expiration_time", 80 "affinity": "INTEGER", 81 "notNull": false 82 }, 83 { 84 "fieldPath": "mCustomAudienceSignals.mUserBiddingSignals", 85 "columnName": "custom_audience_signals_user_bidding_signals", 86 "affinity": "TEXT", 87 "notNull": false 88 } 89 ], 90 "primaryKey": { 91 "columnNames": [ 92 "ad_selection_id" 93 ], 94 "autoGenerate": false 95 }, 96 "indices": [ 97 { 98 "name": "index_ad_selection_bidding_logic_uri", 99 "unique": false, 100 "columnNames": [ 101 "bidding_logic_uri" 102 ], 103 "orders": [], 104 "createSql": "CREATE INDEX IF NOT EXISTS `index_ad_selection_bidding_logic_uri` ON `${TABLE_NAME}` (`bidding_logic_uri`)" 105 } 106 ], 107 "foreignKeys": [] 108 }, 109 { 110 "tableName": "buyer_decision_logic", 111 "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`))", 112 "fields": [ 113 { 114 "fieldPath": "mBiddingLogicUri", 115 "columnName": "bidding_logic_uri", 116 "affinity": "TEXT", 117 "notNull": true 118 }, 119 { 120 "fieldPath": "mBuyerDecisionLogicJs", 121 "columnName": "buyer_decision_logic_js", 122 "affinity": "TEXT", 123 "notNull": true 124 } 125 ], 126 "primaryKey": { 127 "columnNames": [ 128 "bidding_logic_uri" 129 ], 130 "autoGenerate": false 131 }, 132 "indices": [], 133 "foreignKeys": [] 134 }, 135 { 136 "tableName": "ad_selection_overrides", 137 "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`))", 138 "fields": [ 139 { 140 "fieldPath": "adSelectionConfigId", 141 "columnName": "ad_selection_config_id", 142 "affinity": "TEXT", 143 "notNull": true 144 }, 145 { 146 "fieldPath": "appPackageName", 147 "columnName": "app_package_name", 148 "affinity": "TEXT", 149 "notNull": true 150 }, 151 { 152 "fieldPath": "decisionLogicJS", 153 "columnName": "decision_logic", 154 "affinity": "TEXT", 155 "notNull": true 156 }, 157 { 158 "fieldPath": "trustedScoringSignals", 159 "columnName": "trusted_scoring_signals", 160 "affinity": "TEXT", 161 "notNull": true 162 } 163 ], 164 "primaryKey": { 165 "columnNames": [ 166 "ad_selection_config_id" 167 ], 168 "autoGenerate": false 169 }, 170 "indices": [], 171 "foreignKeys": [] 172 }, 173 { 174 "tableName": "ad_selection_from_outcomes_overrides", 175 "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`))", 176 "fields": [ 177 { 178 "fieldPath": "adSelectionFromOutcomesConfigId", 179 "columnName": "ad_selection_from_outcomes_config_id", 180 "affinity": "TEXT", 181 "notNull": true 182 }, 183 { 184 "fieldPath": "appPackageName", 185 "columnName": "app_package_name", 186 "affinity": "TEXT", 187 "notNull": true 188 }, 189 { 190 "fieldPath": "selectionLogicJs", 191 "columnName": "selection_logic_js", 192 "affinity": "TEXT", 193 "notNull": true 194 }, 195 { 196 "fieldPath": "selectionSignals", 197 "columnName": "selection_signals", 198 "affinity": "TEXT", 199 "notNull": true 200 } 201 ], 202 "primaryKey": { 203 "columnNames": [ 204 "ad_selection_from_outcomes_config_id" 205 ], 206 "autoGenerate": false 207 }, 208 "indices": [], 209 "foreignKeys": [] 210 } 211 ], 212 "views": [], 213 "setupQueries": [ 214 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 215 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'b7064b7bc7999ac2d91b3c66caf0f77a')" 216 ] 217 } 218}