From 379a9aa0feba9457712476b7214d1639bb872edd Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Thu, 30 Oct 2025 22:44:26 +0100 Subject: [PATCH] Squash migration Signed-off-by: Bryan Frimin --- pkg/coredata/migrations/20251018T194142Z.sql | 2 ++ pkg/coredata/migrations/20251029T185308Z.sql | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 pkg/coredata/migrations/20251029T185308Z.sql diff --git a/pkg/coredata/migrations/20251018T194142Z.sql b/pkg/coredata/migrations/20251018T194142Z.sql index 0b2c30b1c..c5f4bce15 100644 --- a/pkg/coredata/migrations/20251018T194142Z.sql +++ b/pkg/coredata/migrations/20251018T194142Z.sql @@ -110,3 +110,5 @@ CREATE INDEX idx_auth_saml_relay_states_token ON auth_saml_relay_states(token); CREATE INDEX idx_auth_saml_relay_states_expires_at ON auth_saml_relay_states(expires_at); CREATE INDEX idx_auth_saml_relay_states_tenant_id ON auth_saml_relay_states(tenant_id); + +ALTER TABLE auth_saml_configurations DROP COLUMN default_role; \ No newline at end of file diff --git a/pkg/coredata/migrations/20251029T185308Z.sql b/pkg/coredata/migrations/20251029T185308Z.sql deleted file mode 100644 index 07b825ff7..000000000 --- a/pkg/coredata/migrations/20251029T185308Z.sql +++ /dev/null @@ -1,5 +0,0 @@ --- Remove default_role column from auth_saml_configurations --- The default role is now hardcoded to 'MEMBER' in the application code --- when the SAML role attribute is missing or invalid - -ALTER TABLE auth_saml_configurations DROP COLUMN default_role;