From b539abf5f07bb4b3f99f321da5857bb3e1c6cac6 Mon Sep 17 00:00:00 2001 From: gearnode Date: Thu, 6 Mar 2025 10:20:13 +0100 Subject: [PATCH] Fix migration error Signed-off-by: gearnode --- pkg/usrmgr/coredata/migrations/20250225T153220Z.sql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/usrmgr/coredata/migrations/20250225T153220Z.sql b/pkg/usrmgr/coredata/migrations/20250225T153220Z.sql index bbaeff666..cf2055735 100644 --- a/pkg/usrmgr/coredata/migrations/20250225T153220Z.sql +++ b/pkg/usrmgr/coredata/migrations/20250225T153220Z.sql @@ -1,5 +1,3 @@ --- Add organization_id column to usrmgr_users table -ALTER TABLE usrmgr_users ADD COLUMN organization_id TEXT REFERENCES organizations(id); +ALTER TABLE usrmgr_users ADD COLUMN organization_id TEXT; --- Create an index for faster lookups CREATE INDEX usrmgr_users_organization_id_idx ON usrmgr_users(organization_id); \ No newline at end of file