@virtality/schema 0.0.1-alpha0.1.3 → 0.0.1-alpha0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virtality/schema",
3
- "version": "0.0.1-alpha0.1.3",
3
+ "version": "0.0.1-alpha0.1.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -0,0 +1,5 @@
1
+ -- AlterTable
2
+ ALTER TABLE "MedicalHistory" ADD COLUMN "deltas" TEXT;
3
+
4
+ -- AlterTable
5
+ ALTER TABLE "PatientSession" ADD COLUMN "notes" TEXT;
@@ -182,6 +182,7 @@ model MedicalHistory {
182
182
  nprs String?
183
183
  bodyFront Json?
184
184
  bodyBack Json?
185
+ deltas String?
185
186
  patient Patient @relation(fields: [patientId], references: [id], onDelete: Cascade)
186
187
  }
187
188
 
@@ -244,6 +245,7 @@ model PatientSession {
244
245
  programId String?
245
246
  nprs String?
246
247
  otherTherapies Json?
248
+ notes String?
247
249
  createdAt DateTime @db.Timestamp(6)
248
250
  completedAt DateTime? @db.Timestamp(6)
249
251
  deletedAt DateTime? @db.Timestamp(6)