1{ 2 "formatVersion": 1, 3 "database": { 4 "version": 2, 5 "identityHash": "4d9d365c6c901ca8a91490ed484cc0b8", 6 "entities": [ 7 { 8 "tableName": "http_cache", 9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`cache_url` TEXT NOT NULL, `response_body` TEXT, `response_headers` TEXT, `creation_timestamp` INTEGER, `max_age` INTEGER NOT NULL, PRIMARY KEY(`cache_url`))", 10 "fields": [ 11 { 12 "fieldPath": "url", 13 "columnName": "cache_url", 14 "affinity": "TEXT", 15 "notNull": true 16 }, 17 { 18 "fieldPath": "responseBody", 19 "columnName": "response_body", 20 "affinity": "TEXT", 21 "notNull": false 22 }, 23 { 24 "fieldPath": "responseHeaders", 25 "columnName": "response_headers", 26 "affinity": "TEXT", 27 "notNull": false 28 }, 29 { 30 "fieldPath": "creationTimestamp", 31 "columnName": "creation_timestamp", 32 "affinity": "INTEGER", 33 "notNull": false 34 }, 35 { 36 "fieldPath": "maxAgeSeconds", 37 "columnName": "max_age", 38 "affinity": "INTEGER", 39 "notNull": true 40 } 41 ], 42 "primaryKey": { 43 "columnNames": [ 44 "cache_url" 45 ], 46 "autoGenerate": false 47 }, 48 "indices": [ 49 { 50 "name": "index_http_cache_cache_url", 51 "unique": false, 52 "columnNames": [ 53 "cache_url" 54 ], 55 "orders": [], 56 "createSql": "CREATE INDEX IF NOT EXISTS `index_http_cache_cache_url` ON `${TABLE_NAME}` (`cache_url`)" 57 } 58 ], 59 "foreignKeys": [] 60 } 61 ], 62 "views": [], 63 "setupQueries": [ 64 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 65 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '4d9d365c6c901ca8a91490ed484cc0b8')" 66 ] 67 } 68}