From f015d762cc26e3ba8acfbe588f9c1ee2869f389b Mon Sep 17 00:00:00 2001 From: Hankin Date: Thu, 28 May 2026 15:05:03 +0800 Subject: [PATCH] filiale --- 1779940339_table_orders_add_is_tesla.up.sql | 3 +++ 1779951057_create_filiale.up.sql | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 1779940339_table_orders_add_is_tesla.up.sql create mode 100644 1779951057_create_filiale.up.sql diff --git a/1779940339_table_orders_add_is_tesla.up.sql b/1779940339_table_orders_add_is_tesla.up.sql new file mode 100644 index 0000000..099c314 --- /dev/null +++ b/1779940339_table_orders_add_is_tesla.up.sql @@ -0,0 +1,3 @@ +ALTER TABLE `health`.`ufutx_orders` +ADD COLUMN `is_tesla` TINYINT DEFAULT 0 COMMENT "是否特斯拉计划 0:否,1:是", +ADD COLUMN `filiale_id` INTEGER DEFAULT NULL COMMENT "渠道商id" \ No newline at end of file diff --git a/1779951057_create_filiale.up.sql b/1779951057_create_filiale.up.sql new file mode 100644 index 0000000..a4ecad2 --- /dev/null +++ b/1779951057_create_filiale.up.sql @@ -0,0 +1,7 @@ +CREATE TABLE `health`.`ufutx_filiale` ( + `id` INT NOT NULL AUTO_INCREMENT, + `name` VARCHAR(100) NOT NULL COMMENT "名称", + `created_at` TIMESTAMP NULL DEFAULT NULL, + `updated_at` TIMESTAMP NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE = InnoDB COMMENT = '渠道商'; \ No newline at end of file