Skip to content

Commit

Permalink
Update json file
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth Agarwal committed Jan 2, 2025
1 parent 324165c commit cc6a054
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions app/schemas/org.simple.clinic.AppDatabase/117.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 117,
"identityHash": "8e4949d5e2b6a02f03e77294a9309544",
"identityHash": "c7c0a757d4b32165ae6b15e7a40eb523",
"entities": [
{
"tableName": "Patient",
Expand Down Expand Up @@ -903,7 +903,7 @@
},
{
"tableName": "MedicalHistory",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `patientUuid` TEXT NOT NULL, `diagnosedWithHypertension` TEXT NOT NULL, `isOnHypertensionTreatment` TEXT NOT NULL, `isOnDiabetesTreatment` TEXT NOT NULL, `hasHadHeartAttack` TEXT NOT NULL, `hasHadStroke` TEXT NOT NULL, `hasHadKidneyDisease` TEXT NOT NULL, `hasDiabetes` TEXT NOT NULL, `isSmoker` TEXT NOT NULL, `syncStatus` TEXT NOT NULL, `createdAt` TEXT NOT NULL, `updatedAt` TEXT NOT NULL, `deletedAt` TEXT, `cholesterol_value` TEXT, PRIMARY KEY(`uuid`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `patientUuid` TEXT NOT NULL, `diagnosedWithHypertension` TEXT NOT NULL, `isOnHypertensionTreatment` TEXT NOT NULL, `isOnDiabetesTreatment` TEXT NOT NULL, `hasHadHeartAttack` TEXT NOT NULL, `hasHadStroke` TEXT NOT NULL, `hasHadKidneyDisease` TEXT NOT NULL, `hasDiabetes` TEXT NOT NULL, `isSmoking` TEXT NOT NULL, `syncStatus` TEXT NOT NULL, `createdAt` TEXT NOT NULL, `updatedAt` TEXT NOT NULL, `deletedAt` TEXT, PRIMARY KEY(`uuid`))",
"fields": [
{
"fieldPath": "uuid",
Expand Down Expand Up @@ -960,8 +960,8 @@
"notNull": true
},
{
"fieldPath": "isSmoker",
"columnName": "isSmoker",
"fieldPath": "isSmoking",
"columnName": "isSmoking",
"affinity": "TEXT",
"notNull": true
},
Expand All @@ -988,12 +988,6 @@
"columnName": "deletedAt",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "cholesterolReading.value",
"columnName": "cholesterol_value",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
Expand Down Expand Up @@ -2255,7 +2249,7 @@
],
"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, '8e4949d5e2b6a02f03e77294a9309544')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c7c0a757d4b32165ae6b15e7a40eb523')"
]
}
}

0 comments on commit cc6a054

Please sign in to comment.