原创 mysql

添加外鍵: ALTER TABLE `order_detail`     ADD  FOREIGN KEY (order_id)     REFERENCES `order`(id)     ON DELETE  CASCADE