[questions][feat] update encounters schema

pull/337/head
hpkoh 3 years ago
parent 632439dad4
commit a0ec97f6f2

@ -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