db: add city, industry, company, personality_tags, birthday to t_user_profile

This commit is contained in:
2026-06-04 08:03:56 +08:00
parent 1e2de85f2e
commit f7180eb83d
+8
View File
@@ -15,3 +15,11 @@ alter table emotion_museum.t_ai_config
add client_id VARCHAR(200) COMMENT '客户端ID (OAuth认证)',
add client_secret VARCHAR(500) COMMENT '客户端密钥 (OAuth认证,加密存储)',
add grant_type VARCHAR(50) COMMENT '授权类型: client_credentials, authorization_code, password等';
-- 用户档案扩展字段:城市、行业、公司、性格标签、生日
alter table emotion_museum.t_user_profile
add city varchar(100) null comment '所在城市',
add industry varchar(100) null comment '行业',
add company varchar(200) null comment '公司',
add personality_tags json null comment '性格标签列表',
add birthday date null comment '生日';