mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-19 23:07:57 -05:00
8 lines
280 B
SQL
8 lines
280 B
SQL
ALTER TABLE `ospos_attribute_links`
|
|
DROP FOREIGN KEY `ospos_attribute_links_ibfk_4`;
|
|
|
|
ALTER TABLE `ospos_attribute_links`
|
|
ADD CONSTRAINT `ospos_attribute_links_ibfk_4`
|
|
FOREIGN KEY (`receiving_id`) REFERENCES `ospos_receivings`(`receiving_id`)
|
|
ON DELETE CASCADE
|
|
ON UPDATE RESTRICT; |