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.
16 lines
394 B
16 lines
394 B
2 years ago
|
-- CreateTable
|
||
|
CREATE TABLE "Company" (
|
||
|
"id" TEXT NOT NULL,
|
||
|
"name" TEXT NOT NULL,
|
||
|
"slug" TEXT NOT NULL,
|
||
|
"description" TEXT,
|
||
|
"logoUrl" TEXT,
|
||
|
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||
|
"updatedAt" TIMESTAMP(3) NOT NULL,
|
||
|
|
||
|
CONSTRAINT "Company_pkey" PRIMARY KEY ("id")
|
||
|
);
|
||
|
|
||
|
-- CreateIndex
|
||
|
CREATE UNIQUE INDEX "Company_slug_key" ON "Company"("slug");
|