feat(db): Adding identity_providers table for relational database

This commit is contained in:
Iraq Jaber
2025-07-17 15:48:27 +01:00
parent 54654ecd55
commit de0fd8d588
6 changed files with 47 additions and 30 deletions

View File

@@ -30,7 +30,6 @@ CREATE TABLE identity_providers (
, created_at TIMESTAMPTZ NOT NULL DEFAULT now()
, updated_at TIMESTAMPTZ NOT NULL DEFAULT now()
, deleted_at TIMESTAMPTZ
, PRIMARY KEY (instance_id, id)
, CONSTRAINT identity_providers_unique UNIQUE NULLS NOT DISTINCT (instance_id, org_id, id)