Merge pull request 'feat: Varias líneas farming en albaranes refs #7020' (!2349) from 7020-Varias-líneas-farming-en-albaranes into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2349 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
2d5daf55c2
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
CREATE OR REPLACE TABLE `vn`.`farmingDeliveryNote` (
|
||||||
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`farmingFk` int(10) unsigned NOT NULL,
|
||||||
|
`deliveryNoteFk` int(11) NOT NULL,
|
||||||
|
`amount` decimal(10,2) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `farmingDeliveryNoteFk_FK` (`deliveryNoteFk`),
|
||||||
|
KEY `farmingDeliveryNoteFk_FK_1` (`farmingFk`),
|
||||||
|
CONSTRAINT `farmingDeliveryNoteFk_FK` FOREIGN KEY (`deliveryNoteFk`) REFERENCES `deliveryNote` (`id`),
|
||||||
|
CONSTRAINT `farmingDeliveryNoteFk_FK_1` FOREIGN KEY (`farmingFk`) REFERENCES `farming` (`id`)
|
||||||
|
);
|
Loading…
Reference in New Issue