{ | |
"formatVersion": 1, | |
"database": { | |
"version": 1, | |
"identityHash": "83c0712e9973d534e0a9b882f1d7c4ce", | |
"entities": [ | |
{ | |
"tableName": "Entity1", | |
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT, `value1` INTEGER NOT NULL DEFAULT 1, `value2` INTEGER NOT NULL DEFAULT 2, PRIMARY KEY(`id`))", | |
"fields": [ | |
{ | |
"fieldPath": "id", | |
"columnName": "id", | |
"affinity": "INTEGER", | |
"notNull": true | |
}, | |
{ | |
"fieldPath": "name", | |
"columnName": "name", | |
"affinity": "TEXT", | |
"notNull": false | |
}, | |
{ | |
"fieldPath": "value1", | |
"columnName": "value1", | |
"affinity": "INTEGER", | |
"notNull": true, | |
"defaultValue": "1" | |
}, | |
{ | |
"fieldPath": "value2", | |
"columnName": "value2", | |
"affinity": "INTEGER", | |
"notNull": true, | |
"defaultValue": "2" | |
} | |
], | |
"primaryKey": { | |
"columnNames": [ | |
"id" | |
], | |
"autoGenerate": false | |
}, | |
"indices": [], | |
"foreignKeys": [] | |
} | |
], | |
"views": [], | |
"setupQueries": [ | |
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", | |
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '83c0712e9973d534e0a9b882f1d7c4ce')" | |
] | |
} | |
} |