Answers for "alter all foreign constraint to cascade delete mysql 8"

SQL
0

foreign key type uniqu mysql

mysql > create unique index index_bar_id on foos(bar_id);
mysql > alter table foos add constraint index_bar_id foreign key (bar_id) references bars (id);
Posted by: Guest on October-16-2020

Code answers related to "alter all foreign constraint to cascade delete mysql 8"

Code answers related to "SQL"

Browse Popular Code Answers by Language