mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-06 06:25:28 +02:00
13 lines
494 B
SQL
13 lines
494 B
SQL
CREATE TABLE "sso_provider" (
|
|
"id" text PRIMARY KEY NOT NULL,
|
|
"issuer" text NOT NULL,
|
|
"oidc_config" text,
|
|
"saml_config" text,
|
|
"user_id" text,
|
|
"provider_id" text NOT NULL,
|
|
"organization_id" text,
|
|
"domain" text NOT NULL,
|
|
CONSTRAINT "sso_provider_provider_id_unique" UNIQUE("provider_id")
|
|
);
|
|
--> statement-breakpoint
|
|
ALTER TABLE "sso_provider" ADD CONSTRAINT "sso_provider_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action; |