[questions][feat] update encounters schema (#337)

pull/340/head
hpkoh 2 years ago committed by GitHub
parent a1cd0f4e9b
commit a26bd49a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `seenAt` to the `QuestionsQuestionEncounter` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "QuestionsQuestionEncounter" ADD COLUMN "seenAt" TIMESTAMP(3) NOT NULL;

@ -206,6 +206,7 @@ model QuestionsQuestionEncounter {
company String @db.Text
location String @db.Text
role String @db.Text
seenAt DateTime
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt

Loading…
Cancel
Save