CREATE TABLE IF NOT EXISTS `commission_items` ( `commission_id` BIGINT NOT NULL AUTO_INCREMENT, `item_object_id` INT NOT NULL, `price_per_unit` BIGINT NOT NULL, `start_time` TIMESTAMP NOT NULL, `duration_in_days` TINYINT NOT NULL, PRIMARY KEY (`commission_id`) ) ENGINE=InnoDB;