8 lines
432 B
MySQL
8 lines
432 B
MySQL
|
CREATE OR REPLACE TABLE `vn`.`accountReconciliationConfig` (
|
||
|
`id` INT AUTO_INCREMENT,
|
||
|
`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;
|