mirror of
https://github.com/hykilpikonna/AquaDX.git
synced 2026-08-26 03:05:01 -05:00
fix: [ongeki] update constraints to cascade
This commit is contained in:
10
src/main/resources/db/80/V1000_77__ongeki_fk.sql
Normal file
10
src/main/resources/db/80/V1000_77__ongeki_fk.sql
Normal 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;
|
||||
Reference in New Issue
Block a user