@virtality/schema 0.0.1-alpha.0.8 → 0.0.1-alpha.0.9
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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- You are about to drop the column `name` on the `Preset` table. All the data in the column will be lost.
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
-- AlterTable
|
|
8
|
+
ALTER TABLE "Preset" DROP COLUMN "name",
|
|
9
|
+
ADD COLUMN "presetName" TEXT NOT NULL DEFAULT '',
|
|
10
|
+
ALTER COLUMN "start" SET DATA TYPE TEXT,
|
|
11
|
+
ALTER COLUMN "end" SET DATA TYPE TEXT;
|
package/prisma/schema.prisma
CHANGED
|
@@ -174,11 +174,11 @@ model Patient {
|
|
|
174
174
|
model Preset {
|
|
175
175
|
id String @id
|
|
176
176
|
userId String?
|
|
177
|
-
|
|
177
|
+
presetName String @default("")
|
|
178
178
|
pathology String
|
|
179
179
|
description String?
|
|
180
|
-
start
|
|
181
|
-
end
|
|
180
|
+
start String?
|
|
181
|
+
end String?
|
|
182
182
|
createdAt DateTime @db.Timestamp(6)
|
|
183
183
|
updatedAt DateTime @db.Timestamp(6)
|
|
184
184
|
deletedAt DateTime? @db.Timestamp(6)
|