migrate/1764034666_create_guide_model_log.up.sql
2025-11-25 09:51:54 +08:00

11 lines
552 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CREATE TABLE `ufutx_guide_model_log` (
`id` INT NOT NULL AUTO_INCREMENT,
`user_id` INTEGER NOT NULL COMMENT '用户id',
`order_id` INTEGER NOT NULL COMMENT "订单id",
`model` INTEGER DEFAULT NULL COMMENT '模式 13+421+6',
`start_date` DATE NULL DEFAULT NULL COMMENT "开始时间",
`service_user_id` INTEGER DEFAULT NULL COMMENT '服务人员id',
`created_at` TIMESTAMP NULL DEFAULT NULL,
`updated_at` TIMESTAMP NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = '餐单模式变更记录';