6 lines
327 B
MySQL
6 lines
327 B
MySQL
|
-- Place your SQL code here
|
||
|
|
||
|
ALTER TABLE vn.productionConfig ADD clientSelfConsumptionFk int(11) NULL COMMENT 'Cliente para crear el ticket de autoconsumo';
|
||
|
ALTER TABLE vn.productionConfig ADD CONSTRAINT productionConfig_FK_1 FOREIGN KEY (clientSelfConsumptionFk) REFERENCES vn.client(id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||
|
|