migrate/1778643096_create_service_order_status.up.sql
2026-05-13 11:56:20 +08:00

9 lines
453 B
SQL

CREATE TABLE `health`.`ufutx_service_order_status` (
`id` INT NOT NULL AUTO_INCREMENT,
`user_id` INT NOT NULL COMMENT "用户id",
`order_status` TINYINT DEFAULT 0 COMMENT '接单状态 0:关闭,1:开启 ',
`last_owner` TINYINT DEFAULT 0 COMMENT "最后操作 0:系统,1:用户",
`created_at` TIMESTAMP NULL DEFAULT NULL,
`updated_at` TIMESTAMP NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = '接单状态';