6745-2404_testToMaster #1950

Merged
alexm merged 191 commits from 6745-2404_testToMaster into master 2024-01-25 07:39:13 +00:00
1 changed files with 8 additions and 6 deletions
Showing only changes of commit cdc91e76f5 - Show all commits

View File

@ -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';
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)
);