feat: facility and google review crud
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "GoogleReview" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"reviewerName" TEXT NOT NULL,
|
||||
"reviewerImage" TEXT,
|
||||
"rating" INTEGER NOT NULL,
|
||||
"review" TEXT NOT NULL,
|
||||
"reviewDate" TIMESTAMP(3),
|
||||
"googleReviewUrl" TEXT,
|
||||
"isFeatured" BOOLEAN NOT NULL DEFAULT false,
|
||||
"isActive" BOOLEAN NOT NULL DEFAULT true,
|
||||
"sortOrder" INTEGER NOT NULL DEFAULT 1000,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updatedAt" TIMESTAMP(3) NOT NULL,
|
||||
|
||||
CONSTRAINT "GoogleReview_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
Reference in New Issue
Block a user