1{ 2 "formatVersion": 1, 3 "database": { 4 "version": 4, 5 "identityHash": "e238280a7c02963b4d846fc65eaa31ec", 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_uri` TEXT NOT NULL, `ads` TEXT, `trusted_bidding_data_uri` 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": "mBiddingLogicUri", 61 "columnName": "bidding_logic_uri", 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.mUri", 73 "columnName": "trusted_bidding_data_uri", 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 "autoGenerate": false, 86 "columnNames": [ 87 "owner", 88 "buyer", 89 "name" 90 ] 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_uri` 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": "dailyUpdateUri", 156 "columnName": "daily_update_uri", 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 "autoGenerate": false, 181 "columnNames": [ 182 "owner", 183 "buyer", 184 "name" 185 ] 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, `bidding_logic_version` INTEGER, `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": "biddingLogicJsVersion", 263 "columnName": "bidding_logic_version", 264 "affinity": "INTEGER", 265 "notNull": false 266 }, 267 { 268 "fieldPath": "trustedBiddingData", 269 "columnName": "trusted_bidding_data", 270 "affinity": "TEXT", 271 "notNull": true 272 } 273 ], 274 "primaryKey": { 275 "autoGenerate": false, 276 "columnNames": [ 277 "owner", 278 "buyer", 279 "name" 280 ] 281 }, 282 "indices": [], 283 "foreignKeys": [] 284 }, 285 { 286 "tableName": "custom_audience_quarantine", 287 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`owner` TEXT NOT NULL, `buyer` TEXT NOT NULL, `quarantine_expiration_time` INTEGER NOT NULL, PRIMARY KEY(`owner`, `buyer`))", 288 "fields": [ 289 { 290 "fieldPath": "owner", 291 "columnName": "owner", 292 "affinity": "TEXT", 293 "notNull": true 294 }, 295 { 296 "fieldPath": "buyer", 297 "columnName": "buyer", 298 "affinity": "TEXT", 299 "notNull": true 300 }, 301 { 302 "fieldPath": "quarantineExpirationTime", 303 "columnName": "quarantine_expiration_time", 304 "affinity": "INTEGER", 305 "notNull": true 306 } 307 ], 308 "primaryKey": { 309 "autoGenerate": false, 310 "columnNames": [ 311 "owner", 312 "buyer" 313 ] 314 }, 315 "indices": [ 316 { 317 "name": "index_custom_audience_quarantine_owner_buyer", 318 "unique": false, 319 "columnNames": [ 320 "owner", 321 "buyer" 322 ], 323 "orders": [], 324 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_quarantine_owner_buyer` ON `${TABLE_NAME}` (`owner`, `buyer`)" 325 } 326 ], 327 "foreignKeys": [] 328 } 329 ], 330 "views": [], 331 "setupQueries": [ 332 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 333 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'e238280a7c02963b4d846fc65eaa31ec')" 334 ] 335 } 336}