mirror of
https://gitlab.com/mobicoop/v3/service/configuration.git
synced 2026-01-10 21:42:40 +00:00
add matcher domain, set domain as string instead of enum in db
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
-- CreateEnum
|
||||
CREATE TYPE "Domain" AS ENUM ('USER');
|
||||
|
||||
-- CreateTable
|
||||
CREATE TABLE "configuration" (
|
||||
"uuid" UUID NOT NULL,
|
||||
"domain" "Domain" NOT NULL,
|
||||
"domain" TEXT NOT NULL,
|
||||
"key" TEXT NOT NULL,
|
||||
"value" TEXT NOT NULL,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
Reference in New Issue
Block a user