2022-03-08 19:46:20 +01:00
|
|
|
{
|
|
|
|
"formatVersion": 1,
|
|
|
|
"database": {
|
|
|
|
"version": 1,
|
2022-03-16 17:06:57 +01:00
|
|
|
"identityHash": "71fee21ecfa4bc2a534eca55c0f0cd49",
|
2022-03-08 19:46:20 +01:00
|
|
|
"entities": [
|
|
|
|
{
|
2022-03-16 17:06:57 +01:00
|
|
|
"tableName": "medicines",
|
|
|
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`cis` TEXT NOT NULL, `cip13` TEXT, `cip7` TEXT, `administration_mode` TEXT, `name` TEXT, `presentation` TEXT, `label_group` TEXT, `generic_type` INTEGER, PRIMARY KEY(`cis`))",
|
2022-03-08 19:46:20 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"fieldPath": "cis",
|
|
|
|
"columnName": "cis",
|
|
|
|
"affinity": "TEXT",
|
|
|
|
"notNull": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "cip13",
|
|
|
|
"columnName": "cip13",
|
|
|
|
"affinity": "TEXT",
|
|
|
|
"notNull": false
|
|
|
|
},
|
|
|
|
{
|
2022-03-16 17:06:57 +01:00
|
|
|
"fieldPath": "cip7",
|
|
|
|
"columnName": "cip7",
|
2022-03-08 19:46:20 +01:00
|
|
|
"affinity": "TEXT",
|
|
|
|
"notNull": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldPath": "administration_mode",
|
|
|
|
"columnName": "administration_mode",
|
|
|
|
"affinity": "TEXT",
|
|
|
|
"notNull": false
|
|
|
|
},
|
|
|
|
{
|
2022-03-16 17:06:57 +01:00
|
|
|
"fieldPath": "name",
|
|
|
|
"columnName": "name",
|
2022-03-08 19:46:20 +01:00
|
|
|
"affinity": "TEXT",
|
|
|
|
"notNull": false
|
|
|
|
},
|
|
|
|
{
|
2022-03-16 17:06:57 +01:00
|
|
|
"fieldPath": "presentation",
|
|
|
|
"columnName": "presentation",
|
|
|
|
"affinity": "TEXT",
|
2022-03-08 19:46:20 +01:00
|
|
|
"notNull": false
|
|
|
|
},
|
|
|
|
{
|
2022-03-16 17:06:57 +01:00
|
|
|
"fieldPath": "label_group",
|
|
|
|
"columnName": "label_group",
|
|
|
|
"affinity": "TEXT",
|
2022-03-08 19:46:20 +01:00
|
|
|
"notNull": false
|
|
|
|
},
|
|
|
|
{
|
2022-03-16 17:06:57 +01:00
|
|
|
"fieldPath": "generic_type",
|
|
|
|
"columnName": "generic_type",
|
2022-03-08 19:46:20 +01:00
|
|
|
"affinity": "INTEGER",
|
|
|
|
"notNull": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"primaryKey": {
|
|
|
|
"columnNames": [
|
|
|
|
"cis"
|
|
|
|
],
|
|
|
|
"autoGenerate": false
|
|
|
|
},
|
|
|
|
"indices": [],
|
|
|
|
"foreignKeys": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"views": [],
|
|
|
|
"setupQueries": [
|
|
|
|
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
|
2022-03-16 17:06:57 +01:00
|
|
|
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '71fee21ecfa4bc2a534eca55c0f0cd49')"
|
2022-03-08 19:46:20 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|