core-jgi/migration/340s-351a/172_moreforeignkeys.sql

7 lines
328 B
MySQL
Raw Normal View History

2008-05-30 07:04:27 +07:00
ALTER TABLE PP_MRP ADD (CONSTRAINT DDOrder_PPMRP FOREIGN KEY (DD_Order_ID) REFERENCES DD_ORDER);
ALTER TABLE PP_MRP ADD (CONSTRAINT DDOrderLine_PPMRP FOREIGN KEY (DD_OrderLine_ID) REFERENCES DD_ORDERLINE);
ALTER TABLE PP_ORDER_BOMLINE ADD (CONSTRAINT ADUser_PPOrderBOMLine FOREIGN KEY (AD_User_ID) REFERENCES AD_USER);