fixing false constraint name
This commit is contained in:
parent
23be0b74f9
commit
39ca30c293
@ -43,7 +43,7 @@ create table if not exists `highlight_<item>` (
|
||||
foreign key (`<fk>`) references `<table>` (`<pk>`)
|
||||
on update cascade
|
||||
on delete cascade,
|
||||
constraint `highlight_videdu_fk_category`
|
||||
constraint `highlight_<item>_fk_category`
|
||||
foreign key (`category`) references `highlight_category` (`id`)
|
||||
on update cascade
|
||||
on delete cascade
|
||||
@ -65,7 +65,7 @@ create table if not exists `highlight_catalog` (
|
||||
foreign key (`item`) references `catalog_item` (`id`)
|
||||
on update cascade
|
||||
on delete cascade,
|
||||
constraint `highlight_videdu_fk_category`
|
||||
constraint `highlight_catalog_fk_category`
|
||||
foreign key (`category`) references `highlight_category` (`id`)
|
||||
on update cascade
|
||||
on delete cascade
|
||||
|
Loading…
Reference in New Issue
Block a user