f4acf5be23
Renumbered migration 0021 → 0023 to resolve conflict with pet_image and logo_key migrations that landed on main after this branch was created. Co-Authored-By: Paperclip <noreply@paperclip.ing>
15 lines
547 B
SQL
15 lines
547 B
SQL
CREATE TABLE "auth_provider_config" (
|
|
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
|
"provider_id" text NOT NULL,
|
|
"display_name" text NOT NULL,
|
|
"issuer_url" text NOT NULL,
|
|
"internal_base_url" text,
|
|
"client_id" text NOT NULL,
|
|
"client_secret" text NOT NULL,
|
|
"scopes" text DEFAULT 'openid profile email' NOT NULL,
|
|
"enabled" boolean DEFAULT true NOT NULL,
|
|
"created_at" timestamp DEFAULT now() NOT NULL,
|
|
"updated_at" timestamp DEFAULT now() NOT NULL,
|
|
CONSTRAINT "auth_provider_config_provider_id_unique" UNIQUE("provider_id")
|
|
);
|