2021-06-08 23:27:14 +02:00
{
"formatVersion" : 1 ,
"database" : {
"version" : 1 ,
2022-05-04 06:23:09 +02:00
"identityHash" : "d604d25c3edbdf18cc5a39121cf5a779" ,
2021-06-08 23:27:14 +02:00
"entities" : [
{
"tableName" : "diaconnHistory" ,
2022-05-04 06:23:09 +02:00
"createSql" : "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`timestamp` INTEGER NOT NULL, `code` INTEGER NOT NULL, `value` REAL NOT NULL, `bolusType` TEXT NOT NULL, `stringValue` TEXT NOT NULL, `duration` INTEGER NOT NULL, `dailyBasal` REAL NOT NULL, `dailyBolus` REAL NOT NULL, `alarm` TEXT NOT NULL, `lognum` INTEGER NOT NULL, `wrappingCount` INTEGER NOT NULL, `pumpUid` TEXT NOT NULL, PRIMARY KEY(`timestamp`))" ,
2021-06-08 23:27:14 +02:00
"fields" : [
{
"fieldPath" : "timestamp" ,
"columnName" : "timestamp" ,
"affinity" : "INTEGER" ,
"notNull" : true
} ,
{
"fieldPath" : "code" ,
"columnName" : "code" ,
"affinity" : "INTEGER" ,
"notNull" : true
} ,
{
"fieldPath" : "value" ,
"columnName" : "value" ,
"affinity" : "REAL" ,
"notNull" : true
} ,
{
"fieldPath" : "bolusType" ,
"columnName" : "bolusType" ,
"affinity" : "TEXT" ,
"notNull" : true
} ,
{
"fieldPath" : "stringValue" ,
"columnName" : "stringValue" ,
"affinity" : "TEXT" ,
"notNull" : true
} ,
{
"fieldPath" : "duration" ,
"columnName" : "duration" ,
"affinity" : "INTEGER" ,
"notNull" : true
} ,
{
"fieldPath" : "dailyBasal" ,
"columnName" : "dailyBasal" ,
"affinity" : "REAL" ,
"notNull" : true
} ,
{
"fieldPath" : "dailyBolus" ,
"columnName" : "dailyBolus" ,
"affinity" : "REAL" ,
"notNull" : true
} ,
{
"fieldPath" : "alarm" ,
"columnName" : "alarm" ,
"affinity" : "TEXT" ,
"notNull" : true
2022-05-04 06:23:09 +02:00
} ,
{
"fieldPath" : "lognum" ,
"columnName" : "lognum" ,
"affinity" : "INTEGER" ,
"notNull" : true
} ,
{
"fieldPath" : "wrappingCount" ,
"columnName" : "wrappingCount" ,
"affinity" : "INTEGER" ,
"notNull" : true
} ,
{
"fieldPath" : "pumpUid" ,
"columnName" : "pumpUid" ,
"affinity" : "TEXT" ,
"notNull" : true
2021-06-08 23:27:14 +02:00
}
] ,
"primaryKey" : {
"columnNames" : [
"timestamp"
] ,
"autoGenerate" : false
} ,
"indices" : [
{
"name" : "index_diaconnHistory_code_timestamp" ,
"unique" : false ,
"columnNames" : [
"code" ,
"timestamp"
] ,
2022-05-04 06:23:09 +02:00
"orders" : [ ] ,
2021-06-08 23:27:14 +02:00
"createSql" : "CREATE INDEX IF NOT EXISTS `index_diaconnHistory_code_timestamp` ON `${TABLE_NAME}` (`code`, `timestamp`)"
}
] ,
"foreignKeys" : [ ]
}
] ,
"views" : [ ] ,
"setupQueries" : [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)" ,
2022-05-04 06:23:09 +02:00
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'd604d25c3edbdf18cc5a39121cf5a779')"
2021-06-08 23:27:14 +02:00
]
}
}