stacker.news/prisma/migrations/20211027230800_lnwith/migration.sql

15 lines
390 B
SQL

-- CreateTable
CREATE TABLE "LnWith" (
"id" SERIAL NOT NULL,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updated_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"k1" TEXT NOT NULL,
"userId" INTEGER NOT NULL,
"withdrawalId" INTEGER NOT NULL,
PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "LnWith.k1_unique" ON "LnWith"("k1");