3 lines
203 B
SQL
3 lines
203 B
SQL
ALTER TABLE operaciones_provincia ADD COLUMN pedido_id INT NULL;
|
|
ALTER TABLE operaciones_provincia ADD CONSTRAINT fk_operaciones_pedido FOREIGN KEY (pedido_id) REFERENCES pedidos(id) ON DELETE SET NULL;
|