[questions][feat] add location, role and comapny

pull/323/head
hpkoh 3 years ago
parent 7d7c7f4550
commit a43e6455d6

@ -0,0 +1,12 @@
/*
Warnings:
- Added the required column `company` to the `QuestionsQuestionEncounter` table without a default value. This is not possible if the table is not empty.
- Added the required column `location` to the `QuestionsQuestionEncounter` table without a default value. This is not possible if the table is not empty.
- Added the required column `role` to the `QuestionsQuestionEncounter` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "QuestionsQuestionEncounter" ADD COLUMN "company" TEXT NOT NULL,
ADD COLUMN "location" TEXT NOT NULL,
ADD COLUMN "role" TEXT NOT NULL;

@ -204,9 +204,9 @@ model QuestionsQuestionEncounter {
questionId String
userId String?
// TODO: sync with models
// company String
// location String
// role String
company String @db.Text
location String @db.Text
role String @db.Text
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt

Loading…
Cancel
Save