You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
With postgres, when deleting a user added via OIC, I get an error
update or delete on table "users" violates foreign key constraint "fk_rails_fb3c08edd2" on table "oic_sessions"
An on delete casacde on the foreign key fix the issue
alter table oic_sessions drop constraint fk_rails_fb3c08edd2;
alter table oic_sessions add constraint fk_rails_fb3c08edd2 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
Many thanks
Joris
Redmine version 4.2.4.stable
Ruby version 2.7.5-p203 (2021-11-24) [x86_64-linux]
Rails version 5.2.6.2
Database adapter PostgreSQL
redmine_openid_connect 0.9.4
The text was updated successfully, but these errors were encountered:
Hi,
With postgres, when deleting a user added via OIC, I get an error
update or delete on table "users" violates foreign key constraint "fk_rails_fb3c08edd2" on table "oic_sessions"
An on delete casacde on the foreign key fix the issue
Many thanks
Joris
Redmine version 4.2.4.stable
Ruby version 2.7.5-p203 (2021-11-24) [x86_64-linux]
Rails version 5.2.6.2
Database adapter PostgreSQL
redmine_openid_connect 0.9.4
The text was updated successfully, but these errors were encountered: