Skip to content

Commit

Permalink
add: prisma migration for vercel deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
rfqma committed Oct 5, 2023
1 parent 9fef44e commit bdcfe35
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions prisma/migrations/20231005025947_init/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-- CreateTable
CREATE TABLE "Post" (
"id" SERIAL NOT NULL,
"title" TEXT NOT NULL,
"summary" TEXT NOT NULL,
"content" TEXT NOT NULL,
"category" TEXT NOT NULL,
"userId" TEXT NOT NULL,
"userImage" TEXT NOT NULL,
"userEmail" TEXT NOT NULL,
"comments" TEXT[],
"image" TEXT NOT NULL,

CONSTRAINT "Post_pkey" PRIMARY KEY ("id")
);
3 changes: 3 additions & 0 deletions prisma/migrations/migration_lock.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Please do not edit this file manually
# It should be added in your version-control system (i.e. Git)
provider = "postgresql"

0 comments on commit bdcfe35

Please sign in to comment.