1{ 2 "formatVersion": 1, 3 "database": { 4 "version": 6, 5 "identityHash": "fa36bc1546db7dfa49012f5418d5887e", 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, `debuggable` INTEGER NOT NULL DEFAULT 0, `auction_server_request_flags` INTEGER NOT NULL DEFAULT 0, `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": "mDebuggable", 73 "columnName": "debuggable", 74 "affinity": "INTEGER", 75 "notNull": true, 76 "defaultValue": "0" 77 }, 78 { 79 "fieldPath": "mAuctionServerRequestFlags", 80 "columnName": "auction_server_request_flags", 81 "affinity": "INTEGER", 82 "notNull": true, 83 "defaultValue": "0" 84 }, 85 { 86 "fieldPath": "mTrustedBiddingData.mUri", 87 "columnName": "trusted_bidding_data_uri", 88 "affinity": "TEXT", 89 "notNull": false 90 }, 91 { 92 "fieldPath": "mTrustedBiddingData.mKeys", 93 "columnName": "trusted_bidding_data_keys", 94 "affinity": "TEXT", 95 "notNull": false 96 } 97 ], 98 "primaryKey": { 99 "autoGenerate": false, 100 "columnNames": [ 101 "owner", 102 "buyer", 103 "name" 104 ] 105 }, 106 "indices": [ 107 { 108 "name": "index_custom_audience_owner", 109 "unique": false, 110 "columnNames": [ 111 "owner" 112 ], 113 "orders": [], 114 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_owner` ON `${TABLE_NAME}` (`owner`)" 115 }, 116 { 117 "name": "index_custom_audience_buyer", 118 "unique": false, 119 "columnNames": [ 120 "buyer" 121 ], 122 "orders": [], 123 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_buyer` ON `${TABLE_NAME}` (`buyer`)" 124 }, 125 { 126 "name": "index_custom_audience_expiration_time", 127 "unique": false, 128 "columnNames": [ 129 "expiration_time" 130 ], 131 "orders": [], 132 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_expiration_time` ON `${TABLE_NAME}` (`expiration_time`)" 133 }, 134 { 135 "name": "index_custom_audience_last_ads_and_bidding_data_updated_time", 136 "unique": false, 137 "columnNames": [ 138 "last_ads_and_bidding_data_updated_time" 139 ], 140 "orders": [], 141 "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`)" 142 } 143 ], 144 "foreignKeys": [] 145 }, 146 { 147 "tableName": "custom_audience_background_fetch_data", 148 "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, `is_debuggable` INTEGER NOT NULL DEFAULT false, PRIMARY KEY(`owner`, `buyer`, `name`))", 149 "fields": [ 150 { 151 "fieldPath": "owner", 152 "columnName": "owner", 153 "affinity": "TEXT", 154 "notNull": true 155 }, 156 { 157 "fieldPath": "buyer", 158 "columnName": "buyer", 159 "affinity": "TEXT", 160 "notNull": true 161 }, 162 { 163 "fieldPath": "name", 164 "columnName": "name", 165 "affinity": "TEXT", 166 "notNull": true 167 }, 168 { 169 "fieldPath": "dailyUpdateUri", 170 "columnName": "daily_update_uri", 171 "affinity": "TEXT", 172 "notNull": true 173 }, 174 { 175 "fieldPath": "eligibleUpdateTime", 176 "columnName": "eligible_update_time", 177 "affinity": "INTEGER", 178 "notNull": true 179 }, 180 { 181 "fieldPath": "numValidationFailures", 182 "columnName": "num_validation_failures", 183 "affinity": "INTEGER", 184 "notNull": true 185 }, 186 { 187 "fieldPath": "numTimeoutFailures", 188 "columnName": "num_timeout_failures", 189 "affinity": "INTEGER", 190 "notNull": true 191 }, 192 { 193 "fieldPath": "isDebuggable", 194 "columnName": "is_debuggable", 195 "affinity": "INTEGER", 196 "notNull": true, 197 "defaultValue": "false" 198 } 199 ], 200 "primaryKey": { 201 "autoGenerate": false, 202 "columnNames": [ 203 "owner", 204 "buyer", 205 "name" 206 ] 207 }, 208 "indices": [ 209 { 210 "name": "index_custom_audience_background_fetch_data_owner", 211 "unique": false, 212 "columnNames": [ 213 "owner" 214 ], 215 "orders": [], 216 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_background_fetch_data_owner` ON `${TABLE_NAME}` (`owner`)" 217 }, 218 { 219 "name": "index_custom_audience_background_fetch_data_buyer", 220 "unique": false, 221 "columnNames": [ 222 "buyer" 223 ], 224 "orders": [], 225 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_background_fetch_data_buyer` ON `${TABLE_NAME}` (`buyer`)" 226 }, 227 { 228 "name": "index_custom_audience_background_fetch_data_name", 229 "unique": false, 230 "columnNames": [ 231 "name" 232 ], 233 "orders": [], 234 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_background_fetch_data_name` ON `${TABLE_NAME}` (`name`)" 235 }, 236 { 237 "name": "index_custom_audience_background_fetch_data_eligible_update_time", 238 "unique": false, 239 "columnNames": [ 240 "eligible_update_time" 241 ], 242 "orders": [], 243 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_background_fetch_data_eligible_update_time` ON `${TABLE_NAME}` (`eligible_update_time`)" 244 } 245 ], 246 "foreignKeys": [] 247 }, 248 { 249 "tableName": "custom_audience_overrides", 250 "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`))", 251 "fields": [ 252 { 253 "fieldPath": "owner", 254 "columnName": "owner", 255 "affinity": "TEXT", 256 "notNull": true 257 }, 258 { 259 "fieldPath": "buyer", 260 "columnName": "buyer", 261 "affinity": "TEXT", 262 "notNull": true 263 }, 264 { 265 "fieldPath": "name", 266 "columnName": "name", 267 "affinity": "TEXT", 268 "notNull": true 269 }, 270 { 271 "fieldPath": "appPackageName", 272 "columnName": "app_package_name", 273 "affinity": "TEXT", 274 "notNull": true 275 }, 276 { 277 "fieldPath": "biddingLogicJS", 278 "columnName": "bidding_logic", 279 "affinity": "TEXT", 280 "notNull": true 281 }, 282 { 283 "fieldPath": "biddingLogicJsVersion", 284 "columnName": "bidding_logic_version", 285 "affinity": "INTEGER", 286 "notNull": false 287 }, 288 { 289 "fieldPath": "trustedBiddingData", 290 "columnName": "trusted_bidding_data", 291 "affinity": "TEXT", 292 "notNull": true 293 } 294 ], 295 "primaryKey": { 296 "autoGenerate": false, 297 "columnNames": [ 298 "owner", 299 "buyer", 300 "name" 301 ] 302 }, 303 "indices": [], 304 "foreignKeys": [] 305 }, 306 { 307 "tableName": "custom_audience_quarantine", 308 "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`))", 309 "fields": [ 310 { 311 "fieldPath": "owner", 312 "columnName": "owner", 313 "affinity": "TEXT", 314 "notNull": true 315 }, 316 { 317 "fieldPath": "buyer", 318 "columnName": "buyer", 319 "affinity": "TEXT", 320 "notNull": true 321 }, 322 { 323 "fieldPath": "quarantineExpirationTime", 324 "columnName": "quarantine_expiration_time", 325 "affinity": "INTEGER", 326 "notNull": true 327 } 328 ], 329 "primaryKey": { 330 "autoGenerate": false, 331 "columnNames": [ 332 "owner", 333 "buyer" 334 ] 335 }, 336 "indices": [ 337 { 338 "name": "index_custom_audience_quarantine_owner_buyer", 339 "unique": false, 340 "columnNames": [ 341 "owner", 342 "buyer" 343 ], 344 "orders": [], 345 "createSql": "CREATE INDEX IF NOT EXISTS `index_custom_audience_quarantine_owner_buyer` ON `${TABLE_NAME}` (`owner`, `buyer`)" 346 } 347 ], 348 "foreignKeys": [] 349 } 350 ], 351 "views": [], 352 "setupQueries": [ 353 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 354 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'fa36bc1546db7dfa49012f5418d5887e')" 355 ] 356 } 357}