Florian Bouillon 396f7dfb5a
Page 1
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2021-02-19 17:08:47 +01:00

64 lines
1.8 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "8bdf84f071ba217eb3653e01500bac94",
"entities": [
{
"tableName": "country",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`countryId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `country` TEXT, `capitalCity` TEXT, `continent` TEXT, `code` TEXT, `date` INTEGER)",
"fields": [
{
"fieldPath": "countryId",
"columnName": "countryId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "country",
"columnName": "country",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "capitalCity",
"columnName": "capitalCity",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "continent",
"columnName": "continent",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "code",
"columnName": "code",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "date",
"columnName": "date",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"countryId"
],
"autoGenerate": true
},
"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, '8bdf84f071ba217eb3653e01500bac94')"
]
}
}