From 78dd2e85a54d190d3bcae6a94fa8b449fb94aabf Mon Sep 17 00:00:00 2001 From: Hankin Date: Wed, 13 May 2026 11:56:20 +0800 Subject: [PATCH] order status --- 1778643096_create_service_order_status.up.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 1778643096_create_service_order_status.up.sql 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