CREATE TABLE `tenant_user_extension` (
    `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
    `tenant_user_id` varchar(200) NOT NULL COMMENT '用户id',
    `extension_key` varchar(200) NOT NULL COMMENT '拓展信息的key',
    `extension_value` text COMMENT '拓展信息的value',
    `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
    PRIMARY KEY (`id`),
    KEY `index_tenant_user_extension_tenant_user_id` (`tenant_user_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='用户信息拓展表';