diff --git a/1778643096_create_service_order_status.up.sql b/1778643096_create_service_order_status.up.sql new file mode 100644 index 0000000..09d396b --- /dev/null +++ b/1778643096_create_service_order_status.up.sql @@ -0,0 +1,9 @@ +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 = '接单状态'; \ No newline at end of file