mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-01 20:15:29 +02:00
- Updated dependencies for better-auth packages to version 1.6.5, including api-key, sso, and utils. - Introduced a new SCIM dialog component for managing SCIM providers and tokens. - Added SCIM provider management functionality in the backend, including listing, generating tokens, and deleting providers. - Created a new database table for SCIM providers and updated the schema accordingly. - Enhanced authentication logic to support SCIM provisioning with enterprise features validation.
11 lines
620 B
SQL
11 lines
620 B
SQL
CREATE TABLE "scim_provider" (
|
|
"id" text PRIMARY KEY NOT NULL,
|
|
"provider_id" text NOT NULL,
|
|
"scim_token" text NOT NULL,
|
|
"organization_id" text,
|
|
CONSTRAINT "scim_provider_provider_id_unique" UNIQUE("provider_id"),
|
|
CONSTRAINT "scim_provider_scim_token_unique" UNIQUE("scim_token")
|
|
);
|
|
--> statement-breakpoint
|
|
ALTER TABLE "two_factor" ADD COLUMN "verified" boolean DEFAULT true NOT NULL;--> statement-breakpoint
|
|
ALTER TABLE "scim_provider" ADD CONSTRAINT "scim_provider_organization_id_organization_id_fk" FOREIGN KEY ("organization_id") REFERENCES "public"."organization"("id") ON DELETE cascade ON UPDATE no action; |