2023-01-25 14:16:13 +00:00
|
|
|
-- CreateTable
|
|
|
|
CREATE TABLE "configuration" (
|
|
|
|
"uuid" UUID NOT NULL,
|
2023-05-24 12:38:12 +00:00
|
|
|
"domain" TEXT NOT NULL,
|
2023-01-25 14:16:13 +00:00
|
|
|
"key" TEXT NOT NULL,
|
|
|
|
"value" TEXT NOT NULL,
|
|
|
|
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
|
|
"updatedAt" TIMESTAMP(3) NOT NULL,
|
|
|
|
|
|
|
|
CONSTRAINT "configuration_pkey" PRIMARY KEY ("uuid")
|
|
|
|
);
|
|
|
|
|
|
|
|
-- CreateIndex
|
|
|
|
CREATE UNIQUE INDEX "configuration_domain_key_key" ON "configuration"("domain", "key");
|