1 { 2 "formatVersion": 1, 3 "database": { 4 "version": 5, 5 "identityHash": "5543c44fe679f4cf8f03093d66838068", 6 "entities": [ 7 { 8 "tableName": "Entity1", 9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT, PRIMARY KEY(`id`))", 10 "fields": [ 11 { 12 "fieldPath": "id", 13 "columnName": "id", 14 "affinity": "INTEGER", 15 "notNull": true 16 }, 17 { 18 "fieldPath": "name", 19 "columnName": "name", 20 "affinity": "TEXT", 21 "notNull": false 22 } 23 ], 24 "primaryKey": { 25 "columnNames": [ 26 "id" 27 ], 28 "autoGenerate": false 29 }, 30 "indices": [] 31 }, 32 { 33 "tableName": "Entity2", 34 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `addedInV3` TEXT, `name` TEXT)", 35 "fields": [ 36 { 37 "fieldPath": "id", 38 "columnName": "id", 39 "affinity": "INTEGER", 40 "notNull": true 41 }, 42 { 43 "fieldPath": "addedInV3", 44 "columnName": "addedInV3", 45 "affinity": "TEXT", 46 "notNull": false 47 }, 48 { 49 "fieldPath": "name", 50 "columnName": "name", 51 "affinity": "TEXT", 52 "notNull": false 53 } 54 ], 55 "primaryKey": { 56 "columnNames": [ 57 "id" 58 ], 59 "autoGenerate": true 60 }, 61 "indices": [], 62 "foreignKeys": [] 63 }, 64 { 65 "tableName": "Entity3", 66 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT, PRIMARY KEY(`id`))", 67 "fields": [ 68 { 69 "fieldPath": "id", 70 "columnName": "id", 71 "affinity": "INTEGER", 72 "notNull": true 73 }, 74 { 75 "fieldPath": "name", 76 "columnName": "name", 77 "affinity": "TEXT", 78 "notNull": false 79 } 80 ], 81 "primaryKey": { 82 "columnNames": [ 83 "id" 84 ], 85 "autoGenerate": false 86 }, 87 "indices": [] 88 } 89 ], 90 "setupQueries": [ 91 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 92 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"5543c44fe679f4cf8f03093d66838068\")" 93 ] 94 } 95 }