diff --git a/pkg/usrmgr/coredata/migrations/20250225T201106Z.sql b/pkg/usrmgr/coredata/migrations/20250225T201106Z.sql index 8d86dcc6d..d74449828 100644 --- a/pkg/usrmgr/coredata/migrations/20250225T201106Z.sql +++ b/pkg/usrmgr/coredata/migrations/20250225T201106Z.sql @@ -1,6 +1,6 @@ CREATE TABLE usrmgr_user_organizations ( user_id TEXT REFERENCES usrmgr_users(id) NOT NULL, - organization_id TEXT REFERENCES organizations(id) NOT NULL, + organization_id TEXT NOT NULL, created_at TIMESTAMP NOT NULL DEFAULT NOW(), PRIMARY KEY (user_id, organization_id) );