46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
|
{
|
||
|
"formatVersion": 1,
|
||
|
"database": {
|
||
|
"version": 1,
|
||
|
"identityHash": "69f863b8cb6ddde56af1b6bd00a9bb36",
|
||
|
"entities": [
|
||
|
{
|
||
|
"tableName": "locations",
|
||
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `lat` REAL NOT NULL, `lng` REAL NOT NULL)",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "id",
|
||
|
"columnName": "id",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "lat",
|
||
|
"columnName": "lat",
|
||
|
"affinity": "REAL",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "lng",
|
||
|
"columnName": "lng",
|
||
|
"affinity": "REAL",
|
||
|
"notNull": true
|
||
|
}
|
||
|
],
|
||
|
"primaryKey": {
|
||
|
"columnNames": [
|
||
|
"id"
|
||
|
],
|
||
|
"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, '69f863b8cb6ddde56af1b6bd00a9bb36')"
|
||
|
]
|
||
|
}
|
||
|
}
|