You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
550 B
23 lines
550 B
2 years ago
|
/*
|
||
|
Warnings:
|
||
|
|
||
|
- You are about to drop the `NFTDomain` table. If the table is not empty, all the data it contains will be lost.
|
||
|
|
||
|
*/
|
||
|
-- DropTable
|
||
|
DROP TABLE "NFTDomain";
|
||
|
|
||
|
-- CreateTable
|
||
|
CREATE TABLE "NftDomain" (
|
||
|
"id" SERIAL NOT NULL,
|
||
|
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||
|
"updatedAt" TIMESTAMP(3) NOT NULL,
|
||
|
"address" TEXT NOT NULL,
|
||
|
"available" BOOLEAN NOT NULL,
|
||
|
|
||
|
CONSTRAINT "NftDomain_pkey" PRIMARY KEY ("id")
|
||
|
);
|
||
|
|
||
|
-- CreateIndex
|
||
|
CREATE UNIQUE INDEX "NftDomain_address_key" ON "NftDomain"("address");
|