feat: Add prisma migrations and config

This commit is contained in:
AyrisAI
2026-04-02 04:26:32 +03:00
parent aba1ae39b2
commit a89f9f1720
6 changed files with 325 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
-- CreateTable
CREATE TABLE "Project" (
"id" TEXT NOT NULL,
"title" TEXT NOT NULL,
"description" TEXT NOT NULL,
"m2" INTEGER NOT NULL,
"rooms" TEXT NOT NULL,
"images" TEXT[],
"status" TEXT NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "Project_pkey" PRIMARY KEY ("id")
);