refs #5525 supplier sql table i18n
This commit is contained in:
parent
4b40c8b067
commit
cdc91e76f5
|
@ -1,7 +1,9 @@
|
||||||
ALTER TABLE `vn`.`supplierAccount` ADD COLUMN `countryFk` mediumint(8) unsigned NULL;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ALTER TABLE `vn`.`supplierAccount` ADD CONSTRAINT `supplierAccount_fk_country` FOREIGN KEY (`countryFk`) REFERENCES `country` (`id`);
|
|
||||||
ALTER TABLE `vn`.`company` MODIFY COLUMN `supplierAccountFk` mediumint(8) unsigned DEFAULT NULL NULL COMMENT 'Cuenta por defecto para ingresos desde este pais';
|
ALTER TABLE `vn`.`company` MODIFY COLUMN `supplierAccountFk` mediumint(8) unsigned DEFAULT NULL NULL COMMENT 'Cuenta por defecto para ingresos desde este pais';
|
||||||
d
|
|
||||||
|
CREATE TABLE `vn`.`supplierAccountI18n` (
|
||||||
|
supplierAccountFk int(10) unsigned NOT NULL,
|
||||||
|
countryFk mediumint(8) unsigned NOT NULL,
|
||||||
|
FOREIGN KEY (supplierAccountFk) REFERENCES supplierAccount(id),
|
||||||
|
FOREIGN KEY (countryFk) REFERENCES country(id)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue