Skip to content

Commit

Permalink
Add prisma migration
Browse files Browse the repository at this point in the history
  • Loading branch information
chunweii committed Oct 8, 2023
1 parent e6e919b commit 1677f23
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-- CreateTable
CREATE TABLE "Match" (
"roomId" TEXT NOT NULL,
"userId1" TEXT NOT NULL,
"userId2" TEXT NOT NULL,
"chosenDifficulty" TEXT NOT NULL,
"chosenProgrammingLanguage" TEXT NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,

CONSTRAINT "Match_pkey" PRIMARY KEY ("roomId")
);

0 comments on commit 1677f23

Please sign in to comment.