Reimplement remove / create in console

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-16 17:13:29 +04:00
parent f931bda10f
commit a42fc4fa61
26 changed files with 979 additions and 438 deletions

View File

@@ -18,6 +18,11 @@ WHERE
ALTER TABLE
iam_membership_profiles DROP COLUMN membership_id;
ALTER TABLE
iam_memberships
ALTER COLUMN
source DROP NOT NULL;
ALTER TABLE
iam_scim_events
ADD
@@ -29,7 +34,7 @@ WITH emails AS (
m.id
FROM
iam_memberships m
INNER JOIN identities i ON i.id = m.identity_id
INNER JOIN identities i ON i.id = m.identity_id
)
UPDATE
iam_scim_events se