diff --git a/1783476345_table_customer_add_code.up.sql b/1783476345_table_customer_add_code.up.sql new file mode 100644 index 0000000..4f9aa77 --- /dev/null +++ b/1783476345_table_customer_add_code.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE `health`.`ufutx_s2_customer` +ADD COLUMN `code` VARCHAR(20) COMMENT "唯一码" AFTER `label` \ No newline at end of file diff --git a/1783476516_create_s2_customer_openid.up.sql b/1783476516_create_s2_customer_openid.up.sql new file mode 100644 index 0000000..a244bcd --- /dev/null +++ b/1783476516_create_s2_customer_openid.up.sql @@ -0,0 +1,8 @@ +CREATE TABLE `health`.`ufutx_s2_customer_openid` ( + `id` INT NOT NULL AUTO_INCREMENT, + `code` VARCHAR(50) NOT NULL COMMENT "唯一码", + `openid` VARCHAR(100) NOT NULL COMMENT "微信公众号openid", + `created_at` TIMESTAMP NULL DEFAULT NULL, + `updated_at` TIMESTAMP NULL DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE = InnoDB COMMENT = '客户openid记录表'; \ No newline at end of file