From 9a8656e990a28df76c54a14b4f2c00e39d55a2f6 Mon Sep 17 00:00:00 2001 From: tian <156691306@qq.com> Date: Tue, 21 Jan 2025 15:33:49 +0800 Subject: [PATCH] Create 1737444812_create_ufutx_s2_customer_visit_records.up.sql --- ..._create_ufutx_s2_customer_visit_records.up.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 1737444812_create_ufutx_s2_customer_visit_records.up.sql diff --git a/1737444812_create_ufutx_s2_customer_visit_records.up.sql b/1737444812_create_ufutx_s2_customer_visit_records.up.sql new file mode 100644 index 0000000..ad65f95 --- /dev/null +++ b/1737444812_create_ufutx_s2_customer_visit_records.up.sql @@ -0,0 +1,15 @@ +CREATE TABLE `health`.`ufutx_s2_customer_visit_records` ( + `id` BIGINT NOT NULL AUTO_INCREMENT , + `user_id` BIGINT NOT NULL , + `customer_name` VARCHAR(2048) NOT NULL COMMENT '客户名称' , + `customer_type` TINYINT NOT NULL DEFAULT '2' COMMENT '1=B端政府, 2=B端企业, 3=B端医院, 4=B端供应商, 101=C端合伙人, 102=C端内部合作伙伴' , + `contacts_name` INT NOT NULL COMMENT '客户联系人名称' , + `contacts_mobile` VARCHAR(128) NOT NULL COMMENT '客户联系人电话' , + `visit_time` TIMESTAMP NOT NULL COMMENT '拜访时间' , + `visit_address` VARCHAR(2048) NOT NULL COMMENT '拜访地点' , + `visit_theme` TEXT NOT NULL COMMENT '拜访事宜' , + `visit_result` TEXT NOT NULL COMMENT '拜访成果' , + `created_at` TIMESTAMP NOT NULL , + `updated_at` TIMESTAMP NOT NULL , + PRIMARY KEY (`id`) +) ENGINE = InnoDB COMMENT = '客户拜访记录'; \ No newline at end of file