migration.sql 402 B

1234567891011121314
  1. -- CreateTable
  2. CREATE TABLE "InfraConfig" (
  3. "id" TEXT NOT NULL,
  4. "name" TEXT NOT NULL,
  5. "value" TEXT,
  6. "active" BOOLEAN NOT NULL DEFAULT true,
  7. "createdOn" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
  8. "updatedOn" TIMESTAMP(3) NOT NULL,
  9. CONSTRAINT "InfraConfig_pkey" PRIMARY KEY ("id")
  10. );
  11. -- CreateIndex
  12. CREATE UNIQUE INDEX "InfraConfig_name_key" ON "InfraConfig"("name");