1{ 2 "formatVersion": 1, 3 "database": { 4 "version": 1, 5 "identityHash": "fdff11f9a71acb43d435dcb37a16be4c", 6 "entities": [ 7 { 8 "tableName": "http_cache", 9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`cache_url` TEXT NOT NULL, `response_body` 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": "creationTimestamp", 25 "columnName": "creation_timestamp", 26 "affinity": "INTEGER", 27 "notNull": false 28 }, 29 { 30 "fieldPath": "maxAge", 31 "columnName": "max_age", 32 "affinity": "INTEGER", 33 "notNull": true 34 } 35 ], 36 "primaryKey": { 37 "columnNames": [ 38 "cache_url" 39 ], 40 "autoGenerate": false 41 }, 42 "indices": [ 43 { 44 "name": "index_http_cache_cache_url", 45 "unique": false, 46 "columnNames": [ 47 "cache_url" 48 ], 49 "orders": [], 50 "createSql": "CREATE INDEX IF NOT EXISTS `index_http_cache_cache_url` ON `${TABLE_NAME}` (`cache_url`)" 51 } 52 ], 53 "foreignKeys": [] 54 } 55 ], 56 "views": [], 57 "setupQueries": [ 58 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 59 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'fdff11f9a71acb43d435dcb37a16be4c')" 60 ] 61 } 62}