10 lines
481 B
MySQL
10 lines
481 B
MySQL
|
CREATE OR REPLACE TABLE `vn`.`accountReconciliationConfig` (
|
||
|
`id` INT AUTO_INCREMENT,
|
||
|
`debitCredit` INT(6),
|
||
|
`debitCredit2` INT(6),
|
||
|
`currencyFk` TINYINT(3) unsigned,
|
||
|
`warehouseFk` SMALLINT(6) unsigned,
|
||
|
PRIMARY KEY (`id`),
|
||
|
CONSTRAINT `account_fk_currency` FOREIGN KEY (`currencyFk`) REFERENCES `currency` (`id`),
|
||
|
CONSTRAINT `account_fk_warehouse` FOREIGN KEY (`warehouseFk`) REFERENCES `warehouse` (`id`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|