fix: [ongeki] update constraints to cascade

This commit is contained in:
Raymond
2026-06-06 23:40:39 -04:00
parent 9b3871706f
commit 593783866a

View File

@@ -0,0 +1,10 @@
alter table ongeki_user_event_map drop foreign key FKU_ONGEKI_USER_EVENT_MAP;
alter table ongeki_user_skin drop foreign key FKU_ONGEKI_USER_SKIN;
alter table ongeki_user_event_map add constraint FKU_ONGEKI_USER_EVENT_MAP
foreign key (user_id) references ongeki_user_data (id)
on delete cascade on update cascade;
alter table ongeki_user_skin add constraint FKU_ONGEKI_USER_SKIN
foreign key (user_id) references ongeki_user_data (id)
on delete cascade on update cascade;