salix/db/versions/.archive/10391-orangeCyca/00-firstScript.sql

10 lines
517 B
MySQL
Raw Normal View History

-- Place your SQL code here
use vn;
CREATE OR REPLACE TABLE `auctionConfig` (
`conversionCoefficient` double NOT NULL DEFAULT 1 COMMENT 'value used to calculate the used space of an item in a container',
`warehosueFk` smallint(6) unsigned NOT NULL DEFAULT 7 COMMENT 'default warehouse used for the calculation',
KEY `auctionConfig_FK` (`warehosueFk`),
CONSTRAINT `auctionConfig_FK` FOREIGN KEY (`warehosueFk`) REFERENCES `warehouse` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;