feat : add doctor & career api
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "Career" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"post" TEXT NOT NULL,
|
||||
"designation" TEXT,
|
||||
"qualification" TEXT,
|
||||
"experienceNeed" TEXT,
|
||||
"email" TEXT,
|
||||
"number" TEXT,
|
||||
"status" TEXT NOT NULL DEFAULT 'new',
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updatedAt" TIMESTAMP(3) NOT NULL,
|
||||
|
||||
CONSTRAINT "Career_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
@@ -97,4 +97,18 @@ model Blog {
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model Career {
|
||||
id Int @id @default(autoincrement())
|
||||
post String
|
||||
designation String?
|
||||
qualification String?
|
||||
experienceNeed String?
|
||||
email String?
|
||||
number String?
|
||||
status String @default("new")
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
Reference in New Issue
Block a user