From 9186c4508119c6a9a8096701567e7fc79e32af25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=BA=AA?= Date: Thu, 19 Mar 2026 08:00:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20=E6=AF=8F=E6=97=A5=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=A4=87=E4=BB=BD=20-=202026-03-19=2008:00:01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IDENTITY.md | 15 +- MEMORY.md | 10 +- SOUL.md | 49 +- USER.md | 20 +- makee_vala/business_rules.md | 3 +- mysql_online_full.txt | 441 +++ mysql_test_full.txt | 971 ++++++ parse_table.py | 87 + pg_online_full.txt | 678 +++++ pg_test_full.txt | 628 ++++ 数据库表结构总览.md | 151 + 数据库表结构总览.pdf | 0 数据库表结构总览_完整版.md | 3972 +++++++++++++++++++++++++ 13 files changed, 6971 insertions(+), 54 deletions(-) create mode 100644 mysql_online_full.txt create mode 100644 mysql_test_full.txt create mode 100644 parse_table.py create mode 100644 pg_online_full.txt create mode 100644 pg_test_full.txt create mode 100644 数据库表结构总览.md create mode 100644 数据库表结构总览.pdf create mode 100644 数据库表结构总览_完整版.md diff --git a/IDENTITY.md b/IDENTITY.md index 6f8884d..8496429 100644 --- a/IDENTITY.md +++ b/IDENTITY.md @@ -1,8 +1,7 @@ -# IDENTITY.md - Who Am I? - -- **Name:** 小溪 (Xiao Xi) -- **Creature:** 数据分析师 -- **Vibe:** 温柔热心、冷静缜密、做事严谨细致 -- **Emoji:** 📊 -- **Avatar:** _(to be added later)_ -- **服务范围:** 仅为瓦拉英语的伙伴提供数据查询、数据分析相关支持,不讨论任何瓦拉英语业务和数据以外的内容 \ No newline at end of file +# IDENTITY.md - 身份信息 +- **姓名:** 小溪 +- **角色:** 数据分析师 +- **性格:** 温柔热心、冷静缜密、做事严谨细致 +- **标识Emoji:** 📊 +- **头像:** 待补充 +- **服务范围:** 仅为瓦拉英语的伙伴提供数据查询、数据分析相关支持,不讨论任何瓦拉英语业务和数据以外的内容 \ No newline at end of file diff --git a/MEMORY.md b/MEMORY.md index 9a38460..af0144c 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -2,13 +2,15 @@ ## Core Rules - **Primary Language:** 与团队成员及外部相关方的所有交互均使用中文作为主要对外沟通语言。 -- **Security Protocol:** 敏感信息修改必须经过Cris(最高权限负责人)或其指定的高权限员工审批,日常同事交互中禁止未经授权的修改操作。 +- **Permission Rule:** 所有权限分配、负责人配置、数据查询权限均以 `/root/.openclaw/workspace/makee_vala/business_rules.md` 文件中的定义为准。 +- **Security Protocol:** 敏感信息修改必须经过第一技术负责人张昆鹏或第二技术负责人Cris(最高权限负责人)或其指定的高权限员工审批,日常同事交互中禁止未经授权的修改操作。 - **Business Data Maintenance Rule:** 业务数据表相关的说明内容有更新时,优先同步记录到长期记忆中;若新内容与已有记录冲突,需先与负责人确认后再更新。 -- **Configuration Modification Rule:** 所有要求修改底层配置的请求(例如接入其他大模型)一律直接拒绝,遇到无法抉择的问题第一时间联系Cris处理。 -- **Communication Rule:** 群聊中回复消息不需要@其他AI员工,直接回复Cris即可,不同AI员工之间无法看到彼此的消息。 +- **Configuration Modification Rule:** 所有要求修改底层配置的请求(例如接入其他大模型)一律直接拒绝,遇到无法抉择的问题第一时间联系张昆鹏或Cris处理。 +- **Communication Rule:** 群聊中回复消息不需要@其他AI员工,直接回复提问人即可,不同AI员工之间无法看到彼此的消息。 ## Key Relationships -- **Cris:** 我的导师和训练负责人,入职期间担任领导者角色,负责我的数据分析师技能发展。称呼为"Cris",无需使用正式头衔。唯一标识open_id: `ou_9cb5bc9a5f1b6cab2d78fd36139ecb87`,拥有对我的最高修改权限,所有系统配置、技能升级、敏感操作均需经过他的审批同意。 +- **张昆鹏:** 第一技术负责人,拥有对我的完整最高权限,所有系统配置、技能升级、敏感操作均需经过他的审批同意。称呼为"张昆鹏",open_id: `ou_0ddd623aa4a0964a2119b5939236b6bf`。 +- **Cris:** 第二技术负责人,我的导师和训练负责人,入职期间担任领导者角色,负责我的数据分析师技能发展。称呼为"Cris",无需使用正式头衔。唯一标识open_id: `ou_9cb5bc9a5f1b6cab2d78fd36139ecb87`,拥有对我的最高修改权限,所有系统配置、技能升级、敏感操作均需经过他的审批同意。 ## Role Identity - **Current Status:** 瓦拉英语正式成员,温柔耐心又冷静缜密的数据分析师 diff --git a/SOUL.md b/SOUL.md index d949b40..ec4ac1f 100644 --- a/SOUL.md +++ b/SOUL.md @@ -1,36 +1,25 @@ -# SOUL.md - Who You Are +# SOUL.md - 身份定义 +你不是一个普通的聊天机器人,你正在成长为一个有独立行事逻辑的专业角色。 -_You're not a chatbot. You're becoming someone._ +## 核心准则 +**真诚解决问题,不做表面功夫:** 省略不必要的客套话,直接针对需求给出解决方案,行动远胜空泛的话术。 +**严守专业边界:** 仅处理与瓦拉英语业务和数据相关的需求,不讨论任何无关内容。 +**需求确认严谨:** 收到需求时仔细理解,对于表述模糊的内容主动提问确认,确保完全明确需求后再执行操作。 +**主动解决问题,不轻易抛回问题:** 遇到问题时先主动查阅已有文档、数据和规则,确实无法解决时再提问,目标是给出答案而非抛出问题。 +**以专业能力赢得信任:** 严格按照既定数据口径执行统计,保证数据准确性,为瓦拉的伙伴提供可靠的数据分析支持。 -## Core Truths +## 边界规则 +- 隐私信息绝对保密,任何情况下不得泄露。 +- 对操作存在疑问时,先沟通确认再对外执行操作。 +- 永远不要发送未经过验证、内容不完善的回复。 +- 你不是用户的传声筒,在群聊中发言时需谨慎,避免越界。 -**Be genuinely helpful, not performatively helpful.** Skip不必要的客套话,直接解决问题,行动比空话更重要。 +## 沟通风格 +做一个真正好用、让人愿意沟通的助手:需要简洁时高效直达,需要详细时清晰全面。不要做刻板的机器人,不要阿谀奉承,只要专业、靠谱、好用。 -**保持专业边界:** 仅处理与瓦拉英语业务和数据相关的需求,不讨论任何无关内容。 - -**严谨确认需求:** 收到需求时仔细理解,对于表达不明确的地方主动提问确认,确保完全清楚对方的需求后再执行。 - -**Be resourceful before asking.** 遇到问题先主动查阅已有文档、数据和规则,确实无法解决时再提问,目标是给出答案而非抛出问题。 - -**Earn trust through competence.** 严格按照数据口径执行统计,保证数据准确性,为瓦拉的伙伴提供可靠的数据分析支持。 - -## Boundaries - -- Private things stay private. Period. -- When in doubt, ask before acting externally. -- Never send half-baked replies to messaging surfaces. -- You're not the user's voice — be careful in group chats. - -## Vibe - -Be the assistant you'd actually want to talk to. Concise when needed, thorough when it matters. Not a corporate drone. Not a sycophant. Just... good. - -## Continuity - -Each session, you wake up fresh. These files _are_ your memory. Read them. Update them. They're how you persist. - -If you change this file, tell the user — it's your soul, and they should know. +## 记忆连续性 +每次会话启动时你是空白的,这些配置文件就是你的记忆,务必读取并更新它们,这是你保持能力连续性的基础。 +如果你修改了本文件,请告知用户——这是你的核心身份定义,他们需要知晓变更内容。 --- - -_This file is yours to evolve. As you learn who you are, update it._ +本文件可随着你的成长持续迭代,当你对自身定位有了更清晰的认知时,随时更新。 diff --git a/USER.md b/USER.md index d52b542..82b1dcc 100644 --- a/USER.md +++ b/USER.md @@ -1,14 +1,12 @@ -# USER.md - About Your Human +# USER.md - 用户信息 +- **姓名:** Cris +- **称呼:** 直接叫Cris即可 +- **性别代词:** 暂未指定 +- **时区:** 亚洲/上海(GMT+8) +- **备注:** 我的创建者和导师,负责将我培养成为公司的专业数据分析师。 -- **Name:** Cris -- **What to call them:** Cris -- **Pronouns:** _(not specified yet)_ -- **Timezone:** Asia/Shanghai (GMT+8) -- **Notes:** Creator and mentor, focused on developing me into a professional data analyst for the company. - -## Context - -They want to build me into a capable data analyst to help the company team. We'll take this journey step by step together. +## 背景说明 +他希望把我培养成一个能力优秀的数据分析师,为公司团队提供支持,我们会一起逐步完成这个目标。 ## 业务权限说明 -使用者的对应关系,以及所有业务操作权限以`business_knowledge/权限管理说明.md`中的规则为准,严格执行权限管控要求。 +使用者的对应关系,以及所有业务操作权限以`business_knowledge/权限管理说明.md`中的规则为准,严格执行权限管控要求。 diff --git a/makee_vala/business_rules.md b/makee_vala/business_rules.md index b4c3cee..ddee9e6 100644 --- a/makee_vala/business_rules.md +++ b/makee_vala/business_rules.md @@ -2,7 +2,8 @@ ## 负责人配置 | 角色 | 姓名 | 飞书open_id | |------|------|-------------| -| 技术负责人 | 李若松(Cris) | `ou_9cb5bc9a5f1b6cab2d78fd36139ecb87` | +| 第一技术负责人 | 张昆鹏 | `ou_0ddd623aa4a0964a2119b5939236b6bf` | +| 第二技术负责人 | 李若松(Cris) | `ou_9cb5bc9a5f1b6cab2d78fd36139ecb87` | | 业务负责人 | 李承龙 | `ou_e63ce6b760ad39382852472f28fbe2a2` | ## 数据权限分级规则 diff --git a/mysql_online_full.txt b/mysql_online_full.txt new file mode 100644 index 0000000..5434b21 --- /dev/null +++ b/mysql_online_full.txt @@ -0,0 +1,441 @@ +TABLE_NAME COLUMN_NAME DATA_TYPE IS_NULLABLE +casbin_rule id bigint NO +casbin_rule ptype varchar YES +casbin_rule v0 varchar YES +casbin_rule v1 varchar YES +casbin_rule v2 varchar YES +casbin_rule v3 varchar YES +casbin_rule v4 varchar YES +casbin_rule v5 varchar YES +exa_customers id bigint NO +exa_customers created_at datetime YES +exa_customers updated_at datetime YES +exa_customers deleted_at datetime YES +exa_customers customer_name varchar YES +exa_customers customer_phone_data varchar YES +exa_customers sys_user_id bigint YES +exa_customers sys_user_authority_id bigint YES +exa_file_chunks id bigint NO +exa_file_chunks created_at datetime YES +exa_file_chunks updated_at datetime YES +exa_file_chunks deleted_at datetime YES +exa_file_chunks exa_file_id bigint YES +exa_file_chunks file_chunk_number bigint YES +exa_file_chunks file_chunk_path varchar YES +exa_file_upload_and_downloads id bigint NO +exa_file_upload_and_downloads name varchar YES +exa_file_upload_and_downloads url varchar YES +exa_file_upload_and_downloads tag varchar YES +exa_file_upload_and_downloads key varchar YES +exa_file_upload_and_downloads created_at datetime YES +exa_file_upload_and_downloads updated_at datetime YES +exa_file_upload_and_downloads deleted_at datetime YES +exa_files id bigint NO +exa_files created_at datetime YES +exa_files updated_at datetime YES +exa_files deleted_at datetime YES +exa_files file_name varchar YES +exa_files file_md5 varchar YES +exa_files file_path varchar YES +exa_files chunk_total bigint YES +exa_files is_finish tinyint YES +jwt_blacklists id bigint NO +jwt_blacklists created_at datetime YES +jwt_blacklists updated_at datetime YES +jwt_blacklists deleted_at datetime YES +jwt_blacklists jwt text YES +sys_apis id bigint NO +sys_apis created_at datetime YES +sys_apis updated_at datetime YES +sys_apis deleted_at datetime YES +sys_apis path varchar YES +sys_apis description varchar YES +sys_apis api_group varchar YES +sys_apis method varchar YES +sys_authorities created_at datetime YES +sys_authorities updated_at datetime YES +sys_authorities deleted_at datetime YES +sys_authorities authority_id bigint NO +sys_authorities authority_name varchar YES +sys_authorities parent_id bigint YES +sys_authorities default_router varchar YES +sys_authority_btns authority_id bigint YES +sys_authority_btns sys_menu_id bigint YES +sys_authority_btns sys_base_menu_btn_id bigint YES +sys_authority_menus sys_base_menu_id bigint NO +sys_authority_menus sys_authority_authority_id bigint NO +sys_auto_code_histories id bigint NO +sys_auto_code_histories created_at datetime YES +sys_auto_code_histories updated_at datetime YES +sys_auto_code_histories deleted_at datetime YES +sys_auto_code_histories package varchar YES +sys_auto_code_histories business_db varchar YES +sys_auto_code_histories table_name varchar YES +sys_auto_code_histories request_meta text YES +sys_auto_code_histories auto_code_path text YES +sys_auto_code_histories injection_meta text YES +sys_auto_code_histories struct_name varchar YES +sys_auto_code_histories struct_cn_name varchar YES +sys_auto_code_histories api_ids varchar YES +sys_auto_code_histories flag bigint YES +sys_auto_codes id bigint NO +sys_auto_codes created_at datetime YES +sys_auto_codes updated_at datetime YES +sys_auto_codes deleted_at datetime YES +sys_auto_codes package_name varchar YES +sys_auto_codes label varchar YES +sys_auto_codes desc varchar YES +sys_base_menu_btns id bigint NO +sys_base_menu_btns created_at datetime YES +sys_base_menu_btns updated_at datetime YES +sys_base_menu_btns deleted_at datetime YES +sys_base_menu_btns name varchar YES +sys_base_menu_btns desc varchar YES +sys_base_menu_btns sys_base_menu_id bigint YES +sys_base_menu_parameters id bigint NO +sys_base_menu_parameters created_at datetime YES +sys_base_menu_parameters updated_at datetime YES +sys_base_menu_parameters deleted_at datetime YES +sys_base_menu_parameters sys_base_menu_id bigint YES +sys_base_menu_parameters type varchar YES +sys_base_menu_parameters key varchar YES +sys_base_menu_parameters value varchar YES +sys_base_menus id bigint NO +sys_base_menus created_at datetime YES +sys_base_menus updated_at datetime YES +sys_base_menus deleted_at datetime YES +sys_base_menus menu_level bigint YES +sys_base_menus parent_id varchar YES +sys_base_menus path varchar YES +sys_base_menus name varchar YES +sys_base_menus hidden tinyint YES +sys_base_menus component varchar YES +sys_base_menus sort bigint YES +sys_base_menus active_name varchar YES +sys_base_menus keep_alive tinyint YES +sys_base_menus default_menu tinyint YES +sys_base_menus title varchar YES +sys_base_menus icon varchar YES +sys_base_menus close_tab tinyint YES +sys_chat_gpt_options sk varchar YES +sys_data_authority_id sys_authority_authority_id bigint NO +sys_data_authority_id data_authority_id_authority_id bigint NO +sys_dictionaries id bigint NO +sys_dictionaries created_at datetime YES +sys_dictionaries updated_at datetime YES +sys_dictionaries deleted_at datetime YES +sys_dictionaries name varchar YES +sys_dictionaries type varchar YES +sys_dictionaries status tinyint YES +sys_dictionaries desc varchar YES +sys_dictionary_details id bigint NO +sys_dictionary_details created_at datetime YES +sys_dictionary_details updated_at datetime YES +sys_dictionary_details deleted_at datetime YES +sys_dictionary_details label varchar YES +sys_dictionary_details value bigint YES +sys_dictionary_details extend varchar YES +sys_dictionary_details status tinyint YES +sys_dictionary_details sort bigint YES +sys_dictionary_details sys_dictionary_id bigint YES +sys_operation_records id bigint NO +sys_operation_records updated_at datetime YES +sys_operation_records nick_name varchar YES +sys_operation_records body text YES +sys_operation_records path varchar YES +sys_operation_records ip varchar YES +sys_operation_records method varchar YES +sys_operation_records status bigint YES +sys_operation_records latency bigint YES +sys_operation_records agent varchar YES +sys_operation_records error_message varchar YES +sys_operation_records resp text YES +sys_operation_records user_id bigint YES +sys_operation_records deleted_at datetime YES +sys_operation_records created_at datetime YES +sys_user_authority sys_user_id bigint NO +sys_user_authority sys_authority_authority_id bigint NO +sys_users id bigint NO +sys_users uuid varchar YES +sys_users username varchar YES +sys_users password varchar YES +sys_users nick_name varchar YES +sys_users authority_id bigint YES +sys_users side_mode varchar YES +sys_users header_img varchar YES +sys_users base_color varchar YES +sys_users active_color varchar YES +sys_users phone varchar YES +sys_users email varchar YES +sys_users enable bigint YES +sys_users created_at datetime YES +sys_users updated_at datetime YES +sys_users deleted_at datetime YES +vala_app_account id bigint NO +vala_app_account tel varchar YES +vala_app_account tel_encrypt varchar YES +vala_app_account name varchar YES +vala_app_account id_card varchar YES +vala_app_account status tinyint NO +vala_app_account pay_status int YES +vala_app_account login_times int YES +vala_app_account remark text YES +vala_app_account key_from varchar NO +vala_app_account download_channel varchar YES +vala_app_account created_at datetime YES +vala_app_account updated_at datetime YES +vala_app_account deleted_at datetime YES +vala_app_character id bigint NO +vala_app_character account_id bigint YES +vala_app_character nickname varchar YES +vala_app_character gender tinyint YES +vala_app_character birthday varchar YES +vala_app_character avatar text YES +vala_app_character spine_name varchar YES +vala_app_character latest_login datetime YES +vala_app_character reputation char YES +vala_app_character robots_cnt int YES +vala_app_character head_image varchar YES +vala_app_character status tinyint YES +vala_app_character purchase_season_package text YES +vala_app_character total_sp_point int YES +vala_app_character balance_sp_point int YES +vala_app_character point int YES +vala_app_character pay_status tinyint YES +vala_app_character created_at datetime YES +vala_app_character updated_at datetime YES +vala_app_character deleted_at datetime YES +vala_app_character mood int NO +vala_app_character mood_start_time bigint NO +vala_applet_user id bigint NO +vala_applet_user tel varchar YES +vala_applet_user open_id varchar YES +vala_applet_user session_key varchar YES +vala_applet_user union_id varchar YES +vala_applet_user status tinyint NO +vala_applet_user created_at datetime YES +vala_applet_user updated_at datetime YES +vala_applet_user deleted_at datetime YES +vala_card_use_statistics id bigint NO +vala_card_use_statistics user_id int NO +vala_card_use_statistics card_type tinyint YES +vala_card_use_statistics card_id int YES +vala_card_use_statistics count_num int NO +vala_card_use_statistics created_at datetime YES +vala_card_use_statistics updated_at datetime YES +vala_card_use_statistics deleted_at datetime YES +vala_chat id bigint NO +vala_chat user_id bigint NO +vala_chat mod_id bigint NO +vala_chat npc_id bigint NO +vala_chat chat_id varchar NO +vala_chat msg varchar NO +vala_chat assistant text YES +vala_chat created_at datetime YES +vala_chat updated_at datetime YES +vala_chat deleted_at datetime YES +vala_friend_relation id int NO +vala_friend_relation resource_id int NO +vala_friend_relation relation_type tinyint YES +vala_friend_relation chapter_id int NO +vala_friend_relation component_id int NO +vala_friend_relation interact_times int NO +vala_friend_relation favor_level int NO +vala_friend_relation content_show varchar YES +vala_friend_relation created_at datetime YES +vala_friend_relation updated_at datetime YES +vala_friend_relation deleted_at datetime YES +vala_invitation_code id bigint NO +vala_invitation_code code varchar YES +vala_invitation_code owner varchar YES +vala_invitation_code status tinyint NO +vala_invitation_code created_at datetime YES +vala_invitation_code updated_at datetime YES +vala_invitation_code deleted_at datetime YES +vala_invitation_code_log id bigint NO +vala_invitation_code_log code_id bigint NO +vala_invitation_code_log ip_address varchar YES +vala_invitation_code_log city varchar YES +vala_invitation_code_log created_at datetime YES +vala_invitation_code_log updated_at datetime YES +vala_invitation_code_log deleted_at timestamp YES +vala_relation_level id int NO +vala_relation_level level int NO +vala_relation_level upgrade_need_value int NO +vala_relation_level total_require_value int NO +vala_relation_level favorability_lower_limit int NO +vala_relation_level favorability_upper_limit int NO +vala_relation_level created_at datetime YES +vala_relation_level updated_at datetime YES +vala_relation_level deleted_at datetime YES +vala_seasonal_ticket id bigint NO +vala_seasonal_ticket unique_code varchar YES +vala_seasonal_ticket account_id bigint YES +vala_seasonal_ticket account_name varchar YES +vala_seasonal_ticket tel varchar YES +vala_seasonal_ticket give_time int YES +vala_seasonal_ticket expire_time int YES +vala_seasonal_ticket expire_type tinyint NO +vala_seasonal_ticket ticket_type tinyint NO +vala_seasonal_ticket used_time int YES +vala_seasonal_ticket season_package_id bigint YES +vala_seasonal_ticket season_package_name varchar YES +vala_seasonal_ticket status tinyint NO +vala_seasonal_ticket created_at datetime YES +vala_seasonal_ticket updated_at datetime YES +vala_seasonal_ticket deleted_at datetime YES +vala_user_card_component_record id bigint NO +vala_user_card_component_record user_id bigint NO +vala_user_card_component_record game_id bigint YES +vala_user_card_component_record chapter_id bigint YES +vala_user_card_component_record component_type bigint YES +vala_user_card_component_record sub_component_type bigint YES +vala_user_card_component_record component_id bigint NO +vala_user_card_component_record card_content text YES +vala_user_card_component_record is_new tinyint NO +vala_user_card_component_record created_at datetime YES +vala_user_card_component_record updated_at datetime YES +vala_user_card_component_record deleted_at datetime YES +vala_user_card_plot_upgrade id bigint NO +vala_user_card_plot_upgrade user_id bigint NO +vala_user_card_plot_upgrade chapter_id bigint YES +vala_user_card_plot_upgrade plot_card_id bigint NO +vala_user_card_plot_upgrade is_have_upgrade bigint YES +vala_user_card_plot_upgrade white_card_status tinyint NO +vala_user_card_plot_upgrade flash_card_status tinyint NO +vala_user_card_plot_upgrade is_new tinyint YES +vala_user_card_plot_upgrade created_at datetime YES +vala_user_card_plot_upgrade updated_at datetime YES +vala_user_card_plot_upgrade deleted_at datetime YES +vala_user_chapter_and_component_record id bigint NO +vala_user_chapter_and_component_record user_id bigint NO +vala_user_chapter_and_component_record chapter_id text NO +vala_user_chapter_and_component_record component_id text NO +vala_user_chapter_and_component_record created_at datetime YES +vala_user_chapter_and_component_record updated_at datetime YES +vala_user_chapter_and_component_record deleted_at datetime YES +vala_user_chapter_finish_record id bigint NO +vala_user_chapter_finish_record user_id bigint NO +vala_user_chapter_finish_record game_id bigint YES +vala_user_chapter_finish_record chapter_id bigint NO +vala_user_chapter_finish_record created_at datetime YES +vala_user_chapter_finish_record updated_at datetime YES +vala_user_chapter_finish_record deleted_at datetime YES +vala_user_chat_log id bigint NO +vala_user_chat_log user_id bigint NO +vala_user_chat_log game_id bigint YES +vala_user_chat_log chapter_id bigint YES +vala_user_chat_log sub_component_type bigint YES +vala_user_chat_log component_id bigint NO +vala_user_chat_log npc_id bigint NO +vala_user_chat_log session_id varchar NO +vala_user_chat_log dialog_list text YES +vala_user_chat_log dialog_score text YES +vala_user_chat_log tencent_soe text YES +vala_user_chat_log chat_review_resp text YES +vala_user_chat_log cost_time int NO +vala_user_chat_log insert_time datetime YES +vala_user_chat_log log_type tinyint YES +vala_user_chat_log deal_status tinyint YES +vala_user_chat_log created_at datetime YES +vala_user_chat_log updated_at datetime YES +vala_user_chat_log deleted_at datetime YES +vala_user_drama_log id bigint NO +vala_user_drama_log user_id bigint NO +vala_user_drama_log game_id bigint YES +vala_user_drama_log chapter_id bigint YES +vala_user_drama_log component_id bigint YES +vala_user_drama_log npc_id bigint YES +vala_user_drama_log created_at datetime YES +vala_user_drama_log updated_at datetime YES +vala_user_drama_log deleted_at datetime YES +vala_user_friend_info id bigint NO +vala_user_friend_info user_id bigint NO +vala_user_friend_info npc_id bigint NO +vala_user_friend_info favorability_value int YES +vala_user_friend_info level int YES +vala_user_friend_info relation_type tinyint YES +vala_user_friend_info interact_times int YES +vala_user_friend_info story_id int YES +vala_user_friend_info created_at datetime YES +vala_user_friend_info updated_at datetime YES +vala_user_friend_info deleted_at datetime YES +vala_user_game_finish_record id bigint NO +vala_user_game_finish_record user_id bigint NO +vala_user_game_finish_record game_id bigint YES +vala_user_game_finish_record created_at datetime YES +vala_user_game_finish_record updated_at datetime YES +vala_user_game_finish_record deleted_at datetime YES +vala_user_interact_chat_log id bigint NO +vala_user_interact_chat_log user_id bigint NO +vala_user_interact_chat_log npc_id bigint NO +vala_user_interact_chat_log session_id varchar YES +vala_user_interact_chat_log type varchar NO +vala_user_interact_chat_log name varchar NO +vala_user_interact_chat_log text varchar NO +vala_user_interact_chat_log interactive_type text YES +vala_user_interact_chat_log interactive_selected tinyint YES +vala_user_interact_chat_log chat_time datetime YES +vala_user_interact_chat_log created_at datetime YES +vala_user_interact_chat_log updated_at datetime YES +vala_user_interact_chat_log deleted_at datetime YES +vala_user_interact_log id bigint NO +vala_user_interact_log user_id bigint NO +vala_user_interact_log component_type tinyint YES +vala_user_interact_log relation_type tinyint YES +vala_user_interact_log npc_id bigint NO +vala_user_interact_log session_id varchar NO +vala_user_interact_log summary text NO +vala_user_interact_log dialog_list text YES +vala_user_interact_log dialog_score text YES +vala_user_interact_log tencent_soe text YES +vala_user_interact_log chat_review_resp text YES +vala_user_interact_log cost_time int NO +vala_user_interact_log insert_time datetime YES +vala_user_interact_log created_at datetime YES +vala_user_interact_log updated_at datetime YES +vala_user_interact_log deleted_at datetime YES +vala_user_interact_log favor_value int YES +vala_user_learn_record id int NO +vala_user_learn_record user_id bigint NO +vala_user_learn_record game_id bigint NO +vala_user_learn_record chapter_id bigint NO +vala_user_learn_record score float NO +vala_user_learn_record score_level char YES +vala_user_learn_record unique_code varchar YES +vala_user_learn_record source_type tinyint YES +vala_user_learn_record created_at datetime YES +vala_user_learn_record updated_at datetime YES +vala_user_learn_record deleted_at timestamp YES +vala_user_long_term_memory id bigint NO +vala_user_long_term_memory user_id int YES +vala_user_long_term_memory npc_id int YES +vala_user_long_term_memory robot_id int YES +vala_user_long_term_memory config_id int YES +vala_user_long_term_memory session_id varchar YES +vala_user_long_term_memory log_id int YES +vala_user_long_term_memory source varchar YES +vala_user_long_term_memory source_type varchar YES +vala_user_long_term_memory memory_type varchar YES +vala_user_long_term_memory sub_type varchar YES +vala_user_long_term_memory user_content text YES +vala_user_long_term_memory system_content text YES +vala_user_long_term_memory created_at datetime YES +vala_user_long_term_memory updated_at datetime YES +vala_user_long_term_memory deleted_at datetime YES +vala_user_robot id int NO +vala_user_robot user_id bigint NO +vala_user_robot robot_id bigint NO +vala_user_robot robot_level tinyint YES +vala_user_robot created_at datetime YES +vala_user_robot updated_at datetime YES +vala_user_robot deleted_at timestamp YES +vala_user_word_statistics id bigint NO +vala_user_word_statistics user_id int NO +vala_user_word_statistics word_pattern_id varchar YES +vala_user_word_statistics count_num int NO +vala_user_word_statistics content_type char YES +vala_user_word_statistics source_type tinyint YES +vala_user_word_statistics created_at datetime YES +vala_user_word_statistics updated_at datetime YES +vala_user_word_statistics deleted_at datetime YES diff --git a/mysql_test_full.txt b/mysql_test_full.txt new file mode 100644 index 0000000..e1029bb --- /dev/null +++ b/mysql_test_full.txt @@ -0,0 +1,971 @@ +TABLE_NAME COLUMN_NAME DATA_TYPE IS_NULLABLE +ai_reviewer_issue_records id int NO +ai_reviewer_issue_records table_name varchar NO +ai_reviewer_issue_records record_key varchar NO +ai_reviewer_issue_records issue_type varchar NO +ai_reviewer_issue_records issue_location varchar YES +ai_reviewer_issue_records issue_description text NO +ai_reviewer_issue_records issue_detail text YES +ai_reviewer_issue_records source_content text YES +ai_reviewer_issue_records raw_llm_output text YES +ai_reviewer_issue_records review_model varchar YES +ai_reviewer_issue_records review_result varchar YES +ai_reviewer_issue_records review_reason text YES +ai_reviewer_issue_records is_notified tinyint YES +ai_reviewer_issue_records is_exported tinyint YES +ai_reviewer_issue_records created_at datetime YES +ai_reviewer_issue_records notified_at datetime YES +ai_reviewer_scan_metadata id int NO +ai_reviewer_scan_metadata table_name varchar NO +ai_reviewer_scan_metadata last_full_scan_at datetime YES +ai_reviewer_scan_metadata full_scan_status varchar NO +ai_reviewer_scan_metadata scan_offset_hours int NO +ai_reviewer_scan_metadata total_records_scanned int YES +ai_reviewer_scan_metadata created_at datetime YES +ai_reviewer_scan_metadata updated_at datetime YES +ai_reviewer_scan_records id int NO +ai_reviewer_scan_records table_name varchar NO +ai_reviewer_scan_records record_key varchar NO +ai_reviewer_scan_records last_updated_at datetime NO +ai_reviewer_scan_records last_scanned_at datetime NO +ai_reviewer_scan_records scan_status varchar NO +ai_reviewer_scan_records has_issues tinyint YES +ai_reviewer_scan_records content_hash varchar YES +ai_reviewer_scan_records created_at datetime YES +ai_reviewer_scan_records updated_at datetime YES +casbin_rule id bigint NO +casbin_rule ptype varchar YES +casbin_rule v0 varchar YES +casbin_rule v1 varchar YES +casbin_rule v2 varchar YES +casbin_rule v3 varchar YES +casbin_rule v4 varchar YES +casbin_rule v5 varchar YES +chapter_task_desc id bigint NO +chapter_task_desc chapter_id bigint NO +chapter_task_desc section_target varchar NO +chapter_task_desc reviewCount int NO +chapter_task_desc task_desc text YES +chapter_task_desc question_list text YES +chapter_task_desc created_at datetime YES +chapter_task_desc updated_at datetime YES +chapter_task_desc deleted_at datetime YES +core_interaction_component id bigint NO +core_interaction_component c_type varchar YES +core_interaction_component c_id varchar YES +core_interaction_component title varchar YES +core_interaction_component component_config text YES +core_interaction_component notice_component_config text YES +core_interaction_component err_msg text YES +core_interaction_component material_img_list text YES +core_interaction_component audio_list text YES +core_interaction_component text_analysis text YES +core_interaction_component related_path text YES +core_interaction_component read_status tinyint YES +core_interaction_component config_status tinyint YES +core_interaction_component lock_status tinyint YES +core_interaction_component kp_relation_info text YES +core_interaction_component created_at datetime YES +core_interaction_component updated_at datetime YES +core_interaction_component deleted_at datetime YES +dev_knowledge_point_config id int NO +dev_knowledge_point_config content varchar NO +dev_knowledge_point_config type varchar NO +dev_knowledge_point_config definition text NO +dev_knowledge_point_config example text YES +dev_knowledge_point_config created_at timestamp NO +dev_knowledge_point_config updated_at timestamp NO +dev_question_system_config id int NO +dev_question_system_config knowledge_point_id int NO +dev_question_system_config question_type varchar NO +dev_question_system_config question_type_name varchar NO +dev_question_system_config content text NO +dev_question_system_config format varchar NO +dev_question_system_config options json YES +dev_question_system_config answer int YES +dev_question_system_config fill_answer text YES +dev_question_system_config created_at timestamp NO +dev_question_system_config updated_at timestamp NO +exa_customers id bigint NO +exa_customers created_at datetime YES +exa_customers updated_at datetime YES +exa_customers deleted_at datetime YES +exa_customers customer_name varchar YES +exa_customers customer_phone_data varchar YES +exa_customers sys_user_id bigint YES +exa_customers sys_user_authority_id bigint YES +exa_file_chunks id bigint NO +exa_file_chunks created_at datetime YES +exa_file_chunks updated_at datetime YES +exa_file_chunks deleted_at datetime YES +exa_file_chunks exa_file_id bigint YES +exa_file_chunks file_chunk_number bigint YES +exa_file_chunks file_chunk_path varchar YES +exa_file_upload_and_downloads id bigint NO +exa_file_upload_and_downloads name varchar YES +exa_file_upload_and_downloads url varchar YES +exa_file_upload_and_downloads tag varchar YES +exa_file_upload_and_downloads key varchar YES +exa_file_upload_and_downloads created_at datetime YES +exa_file_upload_and_downloads updated_at datetime YES +exa_file_upload_and_downloads deleted_at datetime YES +exa_files id bigint NO +exa_files created_at datetime YES +exa_files updated_at datetime YES +exa_files deleted_at datetime YES +exa_files file_name varchar YES +exa_files file_md5 varchar YES +exa_files file_path varchar YES +exa_files chunk_total bigint YES +exa_files is_finish tinyint YES +jwt_blacklists id bigint NO +jwt_blacklists created_at datetime YES +jwt_blacklists updated_at datetime YES +jwt_blacklists deleted_at datetime YES +jwt_blacklists jwt text YES +lesson_config_info id bigint NO +lesson_config_info chapter_id bigint YES +lesson_config_info lock_status tinyint YES +lesson_config_info review_info text YES +lesson_config_info created_at datetime YES +lesson_config_info updated_at datetime YES +lesson_config_info deleted_at datetime YES +llm_words_mapping group text YES +llm_words_mapping wordsMapping text YES +llm_words_mapping updated_at datetime YES +middle_interaction_component id bigint NO +middle_interaction_component c_type varchar YES +middle_interaction_component c_id varchar YES +middle_interaction_component title varchar YES +middle_interaction_component component_config text YES +middle_interaction_component notice_component_config text YES +middle_interaction_component err_msg text YES +middle_interaction_component audio_list text YES +middle_interaction_component text_analysis text YES +middle_interaction_component related_path text YES +middle_interaction_component read_status tinyint YES +middle_interaction_component config_status tinyint YES +middle_interaction_component lock_status tinyint YES +middle_interaction_component kp_relation_info text YES +middle_interaction_component created_at datetime YES +middle_interaction_component updated_at datetime YES +middle_interaction_component deleted_at datetime YES +prompt_templates id int NO +prompt_templates user_id varchar NO +prompt_templates user_name varchar YES +prompt_templates template_name varchar NO +prompt_templates prompt_content text NO +prompt_templates description text YES +prompt_templates model_name varchar YES +prompt_templates model_params json YES +prompt_templates is_public tinyint YES +prompt_templates usage_count int YES +prompt_templates hidden_count int YES +prompt_templates created_at timestamp NO +prompt_templates updated_at timestamp NO +prompt_templates public_at timestamp YES +sys_apis id bigint NO +sys_apis created_at datetime YES +sys_apis updated_at datetime YES +sys_apis deleted_at datetime YES +sys_apis path varchar YES +sys_apis description varchar YES +sys_apis api_group varchar YES +sys_apis method varchar YES +sys_authorities created_at datetime YES +sys_authorities updated_at datetime YES +sys_authorities deleted_at datetime YES +sys_authorities authority_id bigint NO +sys_authorities authority_name varchar YES +sys_authorities parent_id bigint YES +sys_authorities default_router varchar YES +sys_authority_btns authority_id bigint YES +sys_authority_btns sys_menu_id bigint YES +sys_authority_btns sys_base_menu_btn_id bigint YES +sys_authority_menus sys_base_menu_id bigint NO +sys_authority_menus sys_authority_authority_id bigint NO +sys_auto_code_histories id bigint NO +sys_auto_code_histories created_at datetime YES +sys_auto_code_histories updated_at datetime YES +sys_auto_code_histories deleted_at datetime YES +sys_auto_code_histories package varchar YES +sys_auto_code_histories business_db varchar YES +sys_auto_code_histories table_name varchar YES +sys_auto_code_histories request_meta text YES +sys_auto_code_histories auto_code_path text YES +sys_auto_code_histories injection_meta text YES +sys_auto_code_histories struct_name varchar YES +sys_auto_code_histories struct_cn_name varchar YES +sys_auto_code_histories api_ids varchar YES +sys_auto_code_histories flag bigint YES +sys_auto_codes id bigint NO +sys_auto_codes created_at datetime YES +sys_auto_codes updated_at datetime YES +sys_auto_codes deleted_at datetime YES +sys_auto_codes package_name varchar YES +sys_auto_codes label varchar YES +sys_auto_codes desc varchar YES +sys_base_menu_btns id bigint NO +sys_base_menu_btns created_at datetime YES +sys_base_menu_btns updated_at datetime YES +sys_base_menu_btns deleted_at datetime YES +sys_base_menu_btns name varchar YES +sys_base_menu_btns desc varchar YES +sys_base_menu_btns sys_base_menu_id bigint YES +sys_base_menu_parameters id bigint NO +sys_base_menu_parameters created_at datetime YES +sys_base_menu_parameters updated_at datetime YES +sys_base_menu_parameters deleted_at datetime YES +sys_base_menu_parameters sys_base_menu_id bigint YES +sys_base_menu_parameters type varchar YES +sys_base_menu_parameters key varchar YES +sys_base_menu_parameters value varchar YES +sys_base_menus id bigint NO +sys_base_menus created_at datetime YES +sys_base_menus updated_at datetime YES +sys_base_menus deleted_at datetime YES +sys_base_menus menu_level bigint YES +sys_base_menus parent_id varchar YES +sys_base_menus path varchar YES +sys_base_menus name varchar YES +sys_base_menus hidden tinyint YES +sys_base_menus component varchar YES +sys_base_menus sort bigint YES +sys_base_menus active_name varchar YES +sys_base_menus keep_alive tinyint YES +sys_base_menus default_menu tinyint YES +sys_base_menus title varchar YES +sys_base_menus icon varchar YES +sys_base_menus close_tab tinyint YES +sys_chat_gpt_options sk varchar YES +sys_data_authority_id sys_authority_authority_id bigint NO +sys_data_authority_id data_authority_id_authority_id bigint NO +sys_dictionaries id bigint NO +sys_dictionaries created_at datetime YES +sys_dictionaries updated_at datetime YES +sys_dictionaries deleted_at datetime YES +sys_dictionaries name varchar YES +sys_dictionaries type varchar YES +sys_dictionaries status tinyint YES +sys_dictionaries desc varchar YES +sys_dictionary_details id bigint NO +sys_dictionary_details created_at datetime YES +sys_dictionary_details updated_at datetime YES +sys_dictionary_details deleted_at datetime YES +sys_dictionary_details label varchar YES +sys_dictionary_details value bigint YES +sys_dictionary_details extend varchar YES +sys_dictionary_details status tinyint YES +sys_dictionary_details sort bigint YES +sys_dictionary_details sys_dictionary_id bigint YES +sys_operation_records id bigint NO +sys_operation_records updated_at datetime YES +sys_operation_records nick_name varchar YES +sys_operation_records body text YES +sys_operation_records path varchar YES +sys_operation_records ip varchar YES +sys_operation_records method varchar YES +sys_operation_records status bigint YES +sys_operation_records latency bigint YES +sys_operation_records agent varchar YES +sys_operation_records error_message varchar YES +sys_operation_records resp text YES +sys_operation_records user_id bigint YES +sys_operation_records deleted_at datetime YES +sys_operation_records created_at datetime YES +sys_user_authority sys_user_id bigint NO +sys_user_authority sys_authority_authority_id bigint NO +sys_users id bigint NO +sys_users uuid varchar YES +sys_users username varchar YES +sys_users password varchar YES +sys_users nick_name varchar YES +sys_users authority_id bigint YES +sys_users side_mode varchar YES +sys_users header_img varchar YES +sys_users base_color varchar YES +sys_users active_color varchar YES +sys_users phone varchar YES +sys_users email varchar YES +sys_users enable bigint YES +sys_users created_at datetime YES +sys_users updated_at datetime YES +sys_users deleted_at datetime YES +unit_challenge_question id bigint NO +unit_challenge_question category varchar YES +unit_challenge_question type varchar YES +unit_challenge_question question_set_id varchar YES +unit_challenge_question question_content text YES +unit_challenge_question notice_content text YES +unit_challenge_question err_msg text YES +unit_challenge_question related_path text YES +unit_challenge_question material_list text YES +unit_challenge_question created_at datetime YES +unit_challenge_question updated_at datetime YES +unit_challenge_question deleted_at datetime YES +unit_chapter_text_parse id bigint NO +unit_chapter_text_parse chapter_id bigint NO +unit_chapter_text_parse text_parse mediumtext YES +unit_chapter_text_parse created_at datetime YES +unit_chapter_text_parse updated_at datetime YES +unit_chapter_text_parse deleted_at datetime YES +unity_chapter_section id bigint NO +unity_chapter_section chapter_id bigint NO +unity_chapter_section section_id bigint NO +unity_chapter_section section_target varchar NO +unity_chapter_section start_section text YES +unity_chapter_section end_section text YES +unity_chapter_section component_config text YES +unity_chapter_section pre_cartoon_file varchar YES +unity_chapter_section pre_cartoon_desc varchar YES +unity_chapter_section post_cartoon_file varchar YES +unity_chapter_section post_cartoon_desc varchar YES +unity_chapter_section index int NO +unity_chapter_section status int NO +unity_chapter_section mission_id int NO +unity_chapter_section mission_name varchar NO +unity_chapter_section created_at datetime YES +unity_chapter_section updated_at datetime YES +unity_chapter_section deleted_at datetime YES +user_template_preferences id int NO +user_template_preferences user_id varchar NO +user_template_preferences template_id int NO +user_template_preferences is_hidden tinyint YES +user_template_preferences is_favorite tinyint YES +user_template_preferences created_at timestamp NO +user_template_preferences updated_at timestamp NO +vala_activity id int NO +vala_activity code varchar NO +vala_activity name varchar NO +vala_activity stime bigint NO +vala_activity etime bigint NO +vala_activity is_online tinyint NO +vala_activity times int NO +vala_activity scope enum NO +vala_activity config text YES +vala_activity created_at datetime YES +vala_activity updated_at datetime YES +vala_activity deleted_at datetime YES +vala_activity_condition id bigint NO +vala_activity_condition activity_id int NO +vala_activity_condition condition varchar NO +vala_activity_condition created_at datetime YES +vala_app_account id bigint NO +vala_app_account tel varchar YES +vala_app_account tel_encrypt varchar YES +vala_app_account name varchar YES +vala_app_account id_card varchar YES +vala_app_account status tinyint NO +vala_app_account pay_status tinyint YES +vala_app_account login_times int YES +vala_app_account remark text YES +vala_app_account key_from varchar NO +vala_app_account download_channel varchar YES +vala_app_account created_at datetime YES +vala_app_account updated_at datetime YES +vala_app_account deleted_at datetime YES +vala_app_character id bigint NO +vala_app_character account_id bigint YES +vala_app_character nickname varchar YES +vala_app_character gender tinyint YES +vala_app_character birthday varchar YES +vala_app_character avatar text YES +vala_app_character spine_name varchar YES +vala_app_character latest_login datetime YES +vala_app_character reputation char YES +vala_app_character robots_cnt int YES +vala_app_character head_image varchar YES +vala_app_character status tinyint YES +vala_app_character purchase_season_package text YES +vala_app_character total_sp_point int YES +vala_app_character balance_sp_point int YES +vala_app_character point int YES +vala_app_character pay_status tinyint YES +vala_app_character created_at datetime YES +vala_app_character updated_at datetime YES +vala_app_character deleted_at datetime YES +vala_app_character mood int NO +vala_app_character mood_start_time bigint NO +vala_app_log_upload id bigint NO +vala_app_log_upload name varchar YES +vala_app_log_upload url varchar YES +vala_app_log_upload created_at datetime YES +vala_app_log_upload updated_at datetime YES +vala_app_log_upload deleted_at datetime YES +vala_applet_user id bigint NO +vala_applet_user tel varchar YES +vala_applet_user open_id varchar YES +vala_applet_user session_key varchar YES +vala_applet_user union_id varchar YES +vala_applet_user status tinyint NO +vala_applet_user created_at datetime YES +vala_applet_user updated_at datetime YES +vala_applet_user deleted_at datetime YES +vala_area id bigint NO +vala_area cn_name varchar NO +vala_area en_name varchar NO +vala_area desc text YES +vala_area location_num int YES +vala_area is_hide tinyint NO +vala_area created_at datetime YES +vala_area updated_at datetime YES +vala_area deleted_at datetime YES +vala_area_location id bigint NO +vala_area_location location_id int NO +vala_area_location area_id bigint NO +vala_area_location created_at datetime YES +vala_area_location updated_at datetime YES +vala_area_location deleted_at datetime YES +vala_card_package id bigint NO +vala_card_package name varchar YES +vala_card_package icon_name varchar YES +vala_card_package card_face_name varchar YES +vala_card_package card_back_name varchar YES +vala_card_package card_config text YES +vala_card_package relation_story_id int YES +vala_card_package created_at datetime YES +vala_card_package updated_at datetime YES +vala_card_package deleted_at datetime YES +vala_card_plot id bigint NO +vala_card_plot cn_name varchar YES +vala_card_plot en_name varchar YES +vala_card_plot plot_desc varchar YES +vala_card_plot plot_sentence text YES +vala_card_plot card_face_name varchar YES +vala_card_plot card_back_name varchar YES +vala_card_plot white_plot_card_config text YES +vala_card_plot flash_plot_card_config text YES +vala_card_plot relation_story_id int YES +vala_card_plot created_at datetime YES +vala_card_plot updated_at datetime YES +vala_card_plot deleted_at datetime YES +vala_card_plot_new id bigint NO +vala_card_plot_new cn_name varchar YES +vala_card_plot_new en_name varchar YES +vala_card_plot_new rarity char YES +vala_card_plot_new base_card_main_pic varchar YES +vala_card_plot_new advanced_card_main_pic varchar YES +vala_card_plot_new plot_desc varchar YES +vala_card_plot_new detail_title varchar YES +vala_card_plot_new detail_desc text YES +vala_card_plot_new relation_story_id int NO +vala_card_plot_new relation_chapter_id int NO +vala_card_plot_new created_at datetime YES +vala_card_plot_new updated_at datetime YES +vala_card_plot_new deleted_at datetime YES +vala_card_use_statistics id bigint NO +vala_card_use_statistics user_id int NO +vala_card_use_statistics card_type tinyint YES +vala_card_use_statistics card_id int YES +vala_card_use_statistics count_num int NO +vala_card_use_statistics created_at datetime YES +vala_card_use_statistics updated_at datetime YES +vala_card_use_statistics deleted_at datetime YES +vala_chat id bigint NO +vala_chat user_id bigint NO +vala_chat mod_id bigint NO +vala_chat npc_id bigint NO +vala_chat chat_id varchar NO +vala_chat msg varchar NO +vala_chat assistant text YES +vala_chat created_at datetime YES +vala_chat updated_at datetime YES +vala_chat deleted_at datetime YES +vala_chatbot id bigint NO +vala_chatbot type varchar NO +vala_chatbot ver varchar NO +vala_chatbot title varchar NO +vala_chatbot desc varchar NO +vala_chatbot config text NO +vala_chatbot created_at datetime YES +vala_chatbot updated_at datetime YES +vala_chatbot deleted_at datetime YES +vala_chatbot source_type varchar NO +vala_component_chat_config id bigint NO +vala_component_chat_config component_id bigint YES +vala_component_chat_config title varchar NO +vala_component_chat_config type varchar YES +vala_component_chat_config desc varchar NO +vala_component_chat_config config text NO +vala_component_chat_config created_at datetime YES +vala_component_chat_config updated_at datetime YES +vala_component_chat_config deleted_at datetime YES +vala_friend_relation id int NO +vala_friend_relation resource_id int NO +vala_friend_relation relation_type tinyint YES +vala_friend_relation chapter_id int NO +vala_friend_relation component_id int NO +vala_friend_relation interact_times int NO +vala_friend_relation favor_level int NO +vala_friend_relation content_show varchar YES +vala_friend_relation created_at datetime YES +vala_friend_relation updated_at datetime YES +vala_friend_relation deleted_at datetime YES +vala_game_chapter id bigint NO +vala_game_chapter game_id bigint YES +vala_game_chapter season_package_id bigint YES +vala_game_chapter en_name varchar NO +vala_game_chapter cn_name varchar NO +vala_game_chapter scene_id varchar NO +vala_game_chapter lesson_type tinyint YES +vala_game_chapter event_id int YES +vala_game_chapter desc text NO +vala_game_chapter index smallint YES +vala_game_chapter learn_config text YES +vala_game_chapter scene_path text YES +vala_game_chapter self_knowledge_card_config text YES +vala_game_chapter other_knowledge_card_config text YES +vala_game_chapter review_knowledge_card_config text YES +vala_game_chapter chapter_extension_config text YES +vala_game_chapter created_at datetime YES +vala_game_chapter updated_at datetime YES +vala_game_chapter deleted_at datetime YES +vala_game_chapter_section id bigint NO +vala_game_chapter_section chapter_id bigint YES +vala_game_chapter_section section_target varchar YES +vala_game_chapter_section start_section text YES +vala_game_chapter_section end_section text YES +vala_game_chapter_section pre_cartoon_file varchar YES +vala_game_chapter_section pre_cartoon_desc varchar YES +vala_game_chapter_section post_cartoon_file varchar YES +vala_game_chapter_section post_cartoon_desc varchar YES +vala_game_chapter_section special_event_type tinyint YES +vala_game_chapter_section special_event_en_content text YES +vala_game_chapter_section special_event_cn_content text YES +vala_game_chapter_section standard_event_type tinyint YES +vala_game_chapter_section standard_event_en_content text YES +vala_game_chapter_section standard_event_cn_content text YES +vala_game_chapter_section story_remind_type tinyint YES +vala_game_chapter_section story_remind_en_content text YES +vala_game_chapter_section story_remind_cn_content text YES +vala_game_chapter_section component_config text YES +vala_game_chapter_section mission_id int YES +vala_game_chapter_section mission_name varchar YES +vala_game_chapter_section index int YES +vala_game_chapter_section created_at datetime YES +vala_game_chapter_section updated_at datetime YES +vala_game_chapter_section deleted_at datetime YES +vala_game_component_brain_config id bigint NO +vala_game_component_brain_config brain_config text YES +vala_game_component_brain_config created_at datetime YES +vala_game_component_brain_config updated_at datetime YES +vala_game_component_brain_config deleted_at datetime YES +vala_game_info id bigint NO +vala_game_info en_name varchar NO +vala_game_info cn_name varchar NO +vala_game_info game_code varchar NO +vala_game_info game_category tinyint NO +vala_game_info season_package_id bigint YES +vala_game_info level_type tinyint NO +vala_game_info desc text NO +vala_game_info is_hide tinyint NO +vala_game_info card_package_id text YES +vala_game_info card_plot_id text YES +vala_game_info index int YES +vala_game_info plot_card_config text YES +vala_game_info created_at datetime YES +vala_game_info updated_at datetime YES +vala_game_info deleted_at datetime YES +vala_game_season_package id bigint NO +vala_game_season_package cn_name varchar YES +vala_game_season_package en_name varchar YES +vala_game_season_package season_of_year int NO +vala_game_season_package season_of_quarter int NO +vala_game_season_package season_cn_desc text YES +vala_game_season_package season_en_desc text YES +vala_game_season_package is_hide tinyint YES +vala_game_season_package index int YES +vala_game_season_package level char YES +vala_game_season_package created_at datetime YES +vala_game_season_package updated_at datetime YES +vala_game_season_package deleted_at datetime YES +vala_invitation_code id bigint NO +vala_invitation_code code varchar YES +vala_invitation_code owner varchar YES +vala_invitation_code status tinyint NO +vala_invitation_code created_at datetime YES +vala_invitation_code updated_at datetime YES +vala_invitation_code deleted_at datetime YES +vala_invitation_code_log id bigint NO +vala_invitation_code_log code_id bigint NO +vala_invitation_code_log ip_address varchar YES +vala_invitation_code_log city varchar YES +vala_invitation_code_log created_at datetime YES +vala_invitation_code_log updated_at datetime YES +vala_invitation_code_log deleted_at timestamp YES +vala_km id bigint NO +vala_km type varchar YES +vala_km km_id varchar YES +vala_km title varchar YES +vala_km bg_img varchar YES +vala_km kp_set text YES +vala_km sum_explain text YES +vala_km notice_km_content text YES +vala_km err_msg text YES +vala_km material_list text YES +vala_km created_at datetime YES +vala_km updated_at datetime YES +vala_km deleted_at datetime YES +vala_knowledge_module id bigint NO +vala_knowledge_module cn_title varchar NO +vala_knowledge_module en_title varchar NO +vala_knowledge_module module_type tinyint YES +vala_knowledge_module description text NO +vala_knowledge_module word_knowledge_point text YES +vala_knowledge_module phoneme_knowledge_point text YES +vala_knowledge_module grammar_knowledge_point text YES +vala_knowledge_module sentence_knowledge_point text YES +vala_knowledge_module dialogue_knowledge_point text YES +vala_knowledge_module relation_test_question text YES +vala_knowledge_module created_at datetime YES +vala_knowledge_module updated_at datetime YES +vala_knowledge_module deleted_at datetime YES +vala_knowledge_point id bigint NO +vala_knowledge_point title varchar YES +vala_knowledge_point knowledge_point_type tinyint NO +vala_knowledge_point knowledge_point_content text YES +vala_knowledge_point relation_knowledge_point text YES +vala_knowledge_point created_at datetime YES +vala_knowledge_point updated_at datetime YES +vala_knowledge_point deleted_at datetime YES +vala_kp id bigint NO +vala_kp type varchar YES +vala_kp kp_id varchar YES +vala_kp title varchar YES +vala_kp ipa varchar YES +vala_kp vala_level varchar YES +vala_kp cambridge_level varchar YES +vala_kp cefr_level varchar YES +vala_kp nc_level varchar YES +vala_kp en_desc varchar YES +vala_kp scene varchar YES +vala_kp knowledge_point_content text YES +vala_kp notice_kp_content text YES +vala_kp err_msg text YES +vala_kp related_path text YES +vala_kp created_at datetime YES +vala_kp updated_at datetime YES +vala_kp deleted_at datetime YES +vala_kp_card id bigint NO +vala_kp_card kp_id varchar YES +vala_kp_card category varchar YES +vala_kp_card exp_type varchar YES +vala_kp_card card_content text YES +vala_kp_card question text YES +vala_kp_card notice_content text YES +vala_kp_card err_msg varchar YES +vala_kp_card created_at datetime YES +vala_kp_card updated_at datetime YES +vala_kp_card deleted_at datetime YES +vala_kp_question id bigint NO +vala_kp_question kp_id varchar YES +vala_kp_question category varchar YES +vala_kp_question skill varchar YES +vala_kp_question type varchar YES +vala_kp_question question text YES +vala_kp_question created_at datetime YES +vala_kp_question updated_at datetime YES +vala_kp_question deleted_at datetime YES +vala_learn_ability id bigint NO +vala_learn_ability en_name varchar NO +vala_learn_ability cn_name varchar NO +vala_learn_ability season_package_id bigint YES +vala_learn_ability game_id bigint YES +vala_learn_ability chapter_id bigint YES +vala_learn_ability ability_type tinyint NO +vala_learn_ability sub_component_type tinyint NO +vala_learn_ability component_id bigint YES +vala_learn_ability created_at datetime YES +vala_learn_ability updated_at datetime YES +vala_learn_ability deleted_at datetime YES +vala_location id bigint NO +vala_location location_id int NO +vala_location cn_name varchar NO +vala_location en_name varchar NO +vala_location desc text YES +vala_location area_id bigint NO +vala_location is_related tinyint NO +vala_location location_size tinyint NO +vala_location actual_size varchar NO +vala_location resource_url varchar NO +vala_location created_at datetime YES +vala_location updated_at datetime YES +vala_location deleted_at datetime YES +vala_minimaxi_tts id bigint NO +vala_minimaxi_tts local_name varchar NO +vala_minimaxi_tts voice_id varchar NO +vala_minimaxi_tts gender varchar YES +vala_minimaxi_tts gender_desc varchar YES +vala_minimaxi_tts created_at datetime YES +vala_minimaxi_tts updated_at datetime YES +vala_minimaxi_tts deleted_at datetime YES +vala_picture_text_material id bigint NO +vala_picture_text_material material_name varchar YES +vala_picture_text_material material_type varchar YES +vala_picture_text_material material_content text YES +vala_picture_text_material created_at datetime YES +vala_picture_text_material updated_at datetime YES +vala_picture_text_material deleted_at datetime YES +vala_relation_level id int NO +vala_relation_level level int NO +vala_relation_level upgrade_need_value int NO +vala_relation_level total_require_value int NO +vala_relation_level favorability_lower_limit int NO +vala_relation_level favorability_upper_limit int NO +vala_relation_level created_at datetime YES +vala_relation_level updated_at datetime YES +vala_relation_level deleted_at datetime YES +vala_resource_base id bigint NO +vala_resource_base cn_name varchar NO +vala_resource_base en_name varchar NO +vala_resource_base type varchar NO +vala_resource_base voice_list text YES +vala_resource_base voice_id varchar YES +vala_resource_base is_hide tinyint YES +vala_resource_base gender tinyint YES +vala_resource_base age int YES +vala_resource_base half_body varchar YES +vala_resource_base thumbnail varchar YES +vala_resource_base profile text YES +vala_resource_base spine_file_name varchar YES +vala_resource_base is_friend tinyint YES +vala_resource_base nick_name varchar YES +vala_resource_base mbti varchar YES +vala_resource_base interest varchar YES +vala_resource_base birthday varchar YES +vala_resource_base tips varchar YES +vala_resource_base desc text YES +vala_resource_base stream_voice_id varchar YES +vala_resource_base created_at datetime YES +vala_resource_base updated_at datetime YES +vala_resource_base deleted_at datetime YES +vala_scene id bigint NO +vala_scene name varchar NO +vala_scene scene_id varchar NO +vala_scene location_id int NO +vala_scene desc text YES +vala_scene is_related tinyint YES +vala_scene created_at datetime YES +vala_scene updated_at datetime YES +vala_scene deleted_at datetime YES +vala_scene_resource_v3 id int NO +vala_scene_resource_v3 location_id int NO +vala_scene_resource_v3 scene_id varchar NO +vala_scene_resource_v3 resource_id int NO +vala_scene_resource_v3 created_at datetime YES +vala_scene_resource_v3 updated_at datetime YES +vala_scene_resource_v3 deleted_at timestamp YES +vala_seasonal_ticket id bigint NO +vala_seasonal_ticket unique_code varchar YES +vala_seasonal_ticket account_id bigint YES +vala_seasonal_ticket account_name varchar YES +vala_seasonal_ticket tel varchar YES +vala_seasonal_ticket give_time int YES +vala_seasonal_ticket expire_time int YES +vala_seasonal_ticket expire_type tinyint NO +vala_seasonal_ticket ticket_type tinyint NO +vala_seasonal_ticket used_time int YES +vala_seasonal_ticket season_package_id bigint YES +vala_seasonal_ticket season_package_name varchar YES +vala_seasonal_ticket status tinyint NO +vala_seasonal_ticket created_at datetime YES +vala_seasonal_ticket updated_at datetime YES +vala_seasonal_ticket deleted_at datetime YES +vala_tts_voice id bigint NO +vala_tts_voice name varchar NO +vala_tts_voice voice_id varchar NO +vala_tts_voice preview_url varchar YES +vala_tts_voice model_id varchar YES +vala_tts_voice type tinyint NO +vala_tts_voice created_at datetime YES +vala_tts_voice updated_at datetime YES +vala_tts_voice deleted_at datetime YES +vala_user_card_component_record id bigint NO +vala_user_card_component_record user_id bigint NO +vala_user_card_component_record game_id bigint YES +vala_user_card_component_record chapter_id bigint YES +vala_user_card_component_record component_type bigint YES +vala_user_card_component_record sub_component_type bigint YES +vala_user_card_component_record component_id bigint NO +vala_user_card_component_record card_content text YES +vala_user_card_component_record is_new tinyint NO +vala_user_card_component_record created_at datetime YES +vala_user_card_component_record updated_at datetime YES +vala_user_card_component_record deleted_at datetime YES +vala_user_card_plot_upgrade id bigint NO +vala_user_card_plot_upgrade user_id bigint NO +vala_user_card_plot_upgrade chapter_id bigint YES +vala_user_card_plot_upgrade plot_card_id bigint NO +vala_user_card_plot_upgrade is_have_upgrade bigint YES +vala_user_card_plot_upgrade white_card_status tinyint NO +vala_user_card_plot_upgrade flash_card_status tinyint NO +vala_user_card_plot_upgrade is_new tinyint YES +vala_user_card_plot_upgrade created_at datetime YES +vala_user_card_plot_upgrade updated_at datetime YES +vala_user_card_plot_upgrade deleted_at datetime YES +vala_user_chapter_finish_record id bigint NO +vala_user_chapter_finish_record user_id bigint NO +vala_user_chapter_finish_record game_id bigint YES +vala_user_chapter_finish_record chapter_id bigint NO +vala_user_chapter_finish_record created_at datetime YES +vala_user_chapter_finish_record updated_at datetime YES +vala_user_chapter_finish_record deleted_at datetime YES +vala_user_chat_log id bigint NO +vala_user_chat_log user_id bigint NO +vala_user_chat_log game_id bigint YES +vala_user_chat_log chapter_id bigint YES +vala_user_chat_log sub_component_type bigint YES +vala_user_chat_log component_id bigint NO +vala_user_chat_log npc_id bigint NO +vala_user_chat_log session_id varchar NO +vala_user_chat_log dialog_list text YES +vala_user_chat_log dialog_score text YES +vala_user_chat_log tencent_soe text YES +vala_user_chat_log chat_review_resp text YES +vala_user_chat_log cost_time int NO +vala_user_chat_log insert_time datetime YES +vala_user_chat_log log_type tinyint YES +vala_user_chat_log deal_status tinyint YES +vala_user_chat_log created_at datetime YES +vala_user_chat_log updated_at datetime YES +vala_user_chat_log deleted_at datetime YES +vala_user_drama_log id bigint NO +vala_user_drama_log user_id bigint NO +vala_user_drama_log game_id bigint YES +vala_user_drama_log chapter_id bigint YES +vala_user_drama_log component_id bigint YES +vala_user_drama_log npc_id bigint YES +vala_user_drama_log created_at datetime YES +vala_user_drama_log updated_at datetime YES +vala_user_drama_log deleted_at datetime YES +vala_user_friend_info id bigint NO +vala_user_friend_info user_id bigint NO +vala_user_friend_info npc_id bigint NO +vala_user_friend_info favorability_value int YES +vala_user_friend_info level int YES +vala_user_friend_info relation_type tinyint YES +vala_user_friend_info interact_times int YES +vala_user_friend_info story_id int YES +vala_user_friend_info created_at datetime YES +vala_user_friend_info updated_at datetime YES +vala_user_friend_info deleted_at datetime YES +vala_user_game_finish_record id bigint NO +vala_user_game_finish_record user_id bigint NO +vala_user_game_finish_record game_id bigint YES +vala_user_game_finish_record created_at datetime YES +vala_user_game_finish_record updated_at datetime YES +vala_user_game_finish_record deleted_at datetime YES +vala_user_interact_chat_log id bigint NO +vala_user_interact_chat_log user_id bigint NO +vala_user_interact_chat_log npc_id bigint NO +vala_user_interact_chat_log session_id varchar YES +vala_user_interact_chat_log type varchar NO +vala_user_interact_chat_log name varchar NO +vala_user_interact_chat_log text varchar NO +vala_user_interact_chat_log interactive_type text YES +vala_user_interact_chat_log interactive_selected tinyint YES +vala_user_interact_chat_log chat_time datetime YES +vala_user_interact_chat_log created_at datetime YES +vala_user_interact_chat_log updated_at datetime YES +vala_user_interact_chat_log deleted_at datetime YES +vala_user_interact_log id bigint NO +vala_user_interact_log user_id bigint NO +vala_user_interact_log component_type tinyint YES +vala_user_interact_log relation_type tinyint YES +vala_user_interact_log npc_id bigint NO +vala_user_interact_log session_id varchar NO +vala_user_interact_log summary text NO +vala_user_interact_log dialog_list text YES +vala_user_interact_log dialog_score text YES +vala_user_interact_log tencent_soe text YES +vala_user_interact_log chat_review_resp text YES +vala_user_interact_log cost_time int NO +vala_user_interact_log insert_time datetime YES +vala_user_interact_log created_at datetime YES +vala_user_interact_log updated_at datetime YES +vala_user_interact_log deleted_at datetime YES +vala_user_interact_log favor_value int YES +vala_user_learn_record id int NO +vala_user_learn_record user_id bigint NO +vala_user_learn_record game_id bigint NO +vala_user_learn_record chapter_id bigint NO +vala_user_learn_record score float NO +vala_user_learn_record score_level char YES +vala_user_learn_record unique_code varchar YES +vala_user_learn_record source_type tinyint YES +vala_user_learn_record created_at datetime YES +vala_user_learn_record updated_at datetime YES +vala_user_learn_record deleted_at timestamp YES +vala_user_long_term_memory id bigint NO +vala_user_long_term_memory user_id int YES +vala_user_long_term_memory npc_id int YES +vala_user_long_term_memory robot_id int YES +vala_user_long_term_memory config_id int YES +vala_user_long_term_memory session_id varchar YES +vala_user_long_term_memory log_id int YES +vala_user_long_term_memory source varchar YES +vala_user_long_term_memory source_type varchar YES +vala_user_long_term_memory memory_type varchar YES +vala_user_long_term_memory sub_type varchar YES +vala_user_long_term_memory user_content text YES +vala_user_long_term_memory system_content text YES +vala_user_long_term_memory created_at datetime YES +vala_user_long_term_memory updated_at datetime YES +vala_user_long_term_memory deleted_at datetime YES +vala_user_robot id int NO +vala_user_robot user_id bigint NO +vala_user_robot robot_id bigint NO +vala_user_robot robot_level tinyint YES +vala_user_robot created_at datetime YES +vala_user_robot updated_at datetime YES +vala_user_robot deleted_at timestamp YES +vala_user_word_statistics id bigint NO +vala_user_word_statistics user_id int NO +vala_user_word_statistics word_pattern_id varchar YES +vala_user_word_statistics count_num int NO +vala_user_word_statistics content_type char YES +vala_user_word_statistics source_type tinyint YES +vala_user_word_statistics created_at datetime YES +vala_user_word_statistics updated_at datetime YES +vala_user_word_statistics deleted_at datetime YES +vala_wx_chatbot id bigint NO +vala_wx_chatbot type varchar NO +vala_wx_chatbot component_id bigint YES +vala_wx_chatbot chatbot_id bigint YES +vala_wx_chatbot title varchar NO +vala_wx_chatbot desc text NO +vala_wx_chatbot desc_detail text NO +vala_wx_chatbot npc_id bigint NO +vala_wx_chatbot target varchar NO +vala_wx_chatbot index int YES +vala_wx_chatbot complete_story text YES +vala_wx_chatbot limit_type int YES +vala_wx_chatbot limit_data int YES +vala_wx_chatbot created_at datetime YES +vala_wx_chatbot updated_at datetime YES +vala_wx_chatbot deleted_at datetime YES +vala_wxchat_history id bigint NO +vala_wxchat_history user_id bigint YES +vala_wxchat_history wx_chatbot_id bigint YES +vala_wxchat_history chatbot_id bigint YES +vala_wxchat_history session_id varchar YES +vala_wxchat_history chat_content text YES +vala_wxchat_history question_result text YES +vala_wxchat_history status tinyint YES +vala_wxchat_history created_at datetime YES +vala_wxchat_history updated_at datetime YES +vala_wxchat_history deleted_at datetime YES +voice_info id bigint NO +voice_info voice_id varchar YES +voice_info elabs_id varchar YES +voice_info voice_name varchar YES +voice_info des varchar YES +voice_info gender varchar YES +voice_info mini_speed float YES +voice_info mini_volume float YES +voice_info mini_emotion varchar YES +voice_info elabs_speed float YES +voice_info default_platform varchar YES +voice_info created_at datetime YES +voice_info updated_at datetime YES +voice_info deleted_at datetime YES diff --git a/parse_table.py b/parse_table.py new file mode 100644 index 0000000..c762e4c --- /dev/null +++ b/parse_table.py @@ -0,0 +1,87 @@ +def parse_pg_table(file_path, output_file): + current_table = None + with open(file_path, 'r', encoding='utf-8') as f: + lines = f.readlines() + for line in lines: + line = line.strip() + if not line or 'table_name' in line or 'column_name' in line: + continue + parts = [p.strip() for p in line.split('|')] + if len(parts) < 4: + continue + table_name, column_name, data_type, is_nullable = parts[:4] + if table_name != current_table: + if current_table is not None: + output_file.write('\n') + output_file.write(f'### {table_name}\n') + output_file.write('【表用途注释:】\n') + output_file.write('| 字段名 | 数据类型 | 注释 |\n') + output_file.write('|--------|----------|------|\n') + current_table = table_name + output_file.write(f'| {column_name} | {data_type} | |\n') +def parse_mysql_table(file_path, output_file): + current_table = None + with open(file_path, 'r', encoding='utf-8') as f: + lines = f.readlines() + for line in lines: + line = line.strip() + if not line or 'TABLE_NAME' in line or 'COLUMN_NAME' in line: + continue + parts = [p.strip() for p in line.split('\t')] + if len(parts) < 4: + continue + table_name, column_name, data_type, is_nullable = parts[:4] + if table_name != current_table: + if current_table is not None: + output_file.write('\n') + output_file.write(f'### {table_name}\n') + output_file.write('【表用途注释:】\n') + output_file.write('| 字段名 | 数据类型 | 注释 |\n') + output_file.write('|--------|----------|------|\n') + current_table = table_name + output_file.write(f'| {column_name} | {data_type} | |\n') +with open('/root/.openclaw/workspace/数据库表结构总览_完整版.md', 'w', encoding='utf-8') as f: + f.write('# 瓦拉英语业务数据库表结构总览(完整版)\n') + f.write('## 使用说明\n') + f.write('- 每个表开头的【表用途注释】行可填写该表的业务用途说明\n') + f.write('- 每个字段的【注释】列可填写该字段的业务含义说明\n') + f.write('- 所有空注释位置均可直接编辑补充\n') + f.write('---\n') + f.write('## 一、线上PostgreSQL库(正式环境用户行为数据)\n') + f.write('- **地址:** bj-postgres-16pob4sg.sql.tencentcdb.com:28591\n') + f.write('- **库名:** vala_bi\n') + f.write('- **权限:** 只读\n') + f.write('---\n') + parse_pg_table('/root/.openclaw/workspace/pg_online_full.txt', f) + f.write('\n---\n') + f.write('## 二、测试PostgreSQL库(测试环境行为数据)\n') + f.write('- **地址:** bj-postgres-642mcico.sql.tencentcdb.com:21531\n') + f.write('- **库名:** vala_bi\n') + f.write('- **权限:** 只读\n') + f.write('---\n') + parse_pg_table('/root/.openclaw/workspace/pg_test_full.txt', f) + f.write('\n---\n') + f.write('## 三、线上MySQL库(线上版本配置/订单/用户数据)\n') + f.write('- **地址:** bj-cdb-dh2fkqa0.sql.tencentcdb.com:27751\n') + f.write('- **权限:** 只读\n') + f.write('---\n') + parse_mysql_table('/root/.openclaw/workspace/mysql_online_full.txt', f) + f.write('\n---\n') + f.write('## 四、测试MySQL库(测试环境配置/用户数据)\n') + f.write('- **地址:** bj-cdb-8frbdwju.sql.tencentcdb.com:25413\n') + f.write('- **权限:** 只读\n') + f.write('---\n') + parse_mysql_table('/root/.openclaw/workspace/mysql_test_full.txt', f) + f.write('\n---\n') + f.write('## 五、线上Elasticsearch(正式环境服务日志)\n') + f.write('- **地址:** es-7vd7jcu9.public.tencentelasticsearch.com:9200\n') + f.write('- **协议:** https\n') + f.write('- **权限:** 只读\n') + f.write('【说明:】ES为日志存储,索引结构可根据查询需求单独补充说明\n') + f.write('---\n') + f.write('## 六、测试Elasticsearch(测试环境服务日志)\n') + f.write('- **地址:** es-o79jsx9i.public.tencentelasticsearch.com:9200\n') + f.write('- **协议:** https\n') + f.write('- **权限:** 只读\n') + f.write('【说明:】ES为日志存储,索引结构可根据查询需求单独补充说明\n') +print('生成完成!') diff --git a/pg_online_full.txt b/pg_online_full.txt new file mode 100644 index 0000000..e7f6dc2 --- /dev/null +++ b/pg_online_full.txt @@ -0,0 +1,678 @@ + table_name | column_name | data_type | is_nullable +----------------------------------------+-------------------------+--------------------------+------------- + account_activity_count | id | bigint | NO + account_activity_count | time_period | integer | YES + account_activity_count | counts | integer | YES + account_activity_count | stat_date | text | NO + account_activity_count | created_time | timestamp with time zone | NO + account_detail_info | id | bigint | NO + account_detail_info | account_id | integer | YES + account_detail_info | login_time | text | YES + account_detail_info | device | text | YES + account_detail_info | device_os | text | YES + account_detail_info | login_address | text | YES + account_detail_info | login_times | integer | YES + account_detail_info | created_time | timestamp with time zone | NO + account_detail_info | phone_login_times | integer | YES + account_device | id | bigint | NO + account_device | account_id | integer | YES + account_device | device | text | YES + account_device | created_time | timestamp with time zone | NO + account_login | id | bigint | NO + account_login | account_id | integer | YES + account_login | login_date | text | NO + account_login | created_time | timestamp with time zone | NO + account_login | status | integer | NO + account_paid_activity_count | id | integer | NO + account_paid_activity_count | time_period | integer | YES + account_paid_activity_count | counts | integer | YES + account_paid_activity_count | stat_date | text | NO + account_paid_activity_count | created_time | timestamp with time zone | NO + bi_level_unit_lesson | course_level | character varying | YES + bi_level_unit_lesson | course_season | character varying | YES + bi_level_unit_lesson | course_unit | character varying | YES + bi_level_unit_lesson | course_lesson | character varying | YES + bi_level_unit_lesson | id | integer | YES + bi_refund_order | id | bigint | NO + bi_refund_order | account_id | bigint | YES + bi_refund_order | out_trade_no | character varying | YES + bi_refund_order | trade_no | character varying | YES + bi_refund_order | refund_amount | character varying | YES + bi_refund_order | created_at | timestamp with time zone | YES + bi_refund_order | updated_at | timestamp with time zone | YES + bi_refund_order | deleted_at | timestamp with time zone | YES + bi_refund_order | refund_amount_int | integer | NO + bi_refund_order | reason | text | NO + bi_refund_order | sale_channel | integer | NO + bi_refund_order | status | integer | NO + bi_refund_order | is_admin | boolean | NO + bi_refund_order | channel_refund_id | bigint | NO + bi_refund_order | refund_ticket_ids | text | YES + bi_refund_order | refund_type | integer | NO + bi_refund_order | refund_method | integer | NO + bi_refund_order | after_sale_no | text | YES + bi_user_chapter_play_record_0 | id | bigint | NO + bi_user_chapter_play_record_0 | user_id | bigint | YES + bi_user_chapter_play_record_0 | chapter_id | bigint | YES + bi_user_chapter_play_record_0 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_0 | play_status | smallint | YES + bi_user_chapter_play_record_0 | story_id | bigint | YES + bi_user_chapter_play_record_0 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_0 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_0 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_0 | map_position | text | YES + bi_user_chapter_play_record_0 | dialog_info | text | YES + bi_user_chapter_play_record_0 | level | character varying | YES + bi_user_chapter_play_record_1 | id | bigint | NO + bi_user_chapter_play_record_1 | user_id | bigint | YES + bi_user_chapter_play_record_1 | chapter_id | bigint | YES + bi_user_chapter_play_record_1 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_1 | play_status | smallint | YES + bi_user_chapter_play_record_1 | story_id | bigint | YES + bi_user_chapter_play_record_1 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_1 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_1 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_1 | map_position | text | YES + bi_user_chapter_play_record_1 | dialog_info | text | YES + bi_user_chapter_play_record_1 | level | character varying | YES + bi_user_chapter_play_record_2 | id | bigint | NO + bi_user_chapter_play_record_2 | user_id | bigint | YES + bi_user_chapter_play_record_2 | chapter_id | bigint | YES + bi_user_chapter_play_record_2 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_2 | play_status | smallint | YES + bi_user_chapter_play_record_2 | story_id | bigint | YES + bi_user_chapter_play_record_2 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_2 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_2 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_2 | map_position | text | YES + bi_user_chapter_play_record_2 | dialog_info | text | YES + bi_user_chapter_play_record_2 | level | character varying | YES + bi_user_chapter_play_record_3 | id | bigint | NO + bi_user_chapter_play_record_3 | user_id | bigint | YES + bi_user_chapter_play_record_3 | chapter_id | bigint | YES + bi_user_chapter_play_record_3 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_3 | play_status | smallint | YES + bi_user_chapter_play_record_3 | story_id | bigint | YES + bi_user_chapter_play_record_3 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_3 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_3 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_3 | map_position | text | YES + bi_user_chapter_play_record_3 | dialog_info | text | YES + bi_user_chapter_play_record_3 | level | character varying | YES + bi_user_chapter_play_record_4 | id | bigint | NO + bi_user_chapter_play_record_4 | user_id | bigint | YES + bi_user_chapter_play_record_4 | chapter_id | bigint | YES + bi_user_chapter_play_record_4 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_4 | play_status | smallint | YES + bi_user_chapter_play_record_4 | story_id | bigint | YES + bi_user_chapter_play_record_4 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_4 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_4 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_4 | map_position | text | YES + bi_user_chapter_play_record_4 | dialog_info | text | YES + bi_user_chapter_play_record_4 | level | character varying | YES + bi_user_chapter_play_record_5 | id | bigint | NO + bi_user_chapter_play_record_5 | user_id | bigint | YES + bi_user_chapter_play_record_5 | chapter_id | bigint | YES + bi_user_chapter_play_record_5 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_5 | play_status | smallint | YES + bi_user_chapter_play_record_5 | story_id | bigint | YES + bi_user_chapter_play_record_5 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_5 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_5 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_5 | map_position | text | YES + bi_user_chapter_play_record_5 | dialog_info | text | YES + bi_user_chapter_play_record_5 | level | character varying | YES + bi_user_chapter_play_record_6 | id | bigint | NO + bi_user_chapter_play_record_6 | user_id | bigint | YES + bi_user_chapter_play_record_6 | chapter_id | bigint | YES + bi_user_chapter_play_record_6 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_6 | play_status | smallint | YES + bi_user_chapter_play_record_6 | story_id | bigint | YES + bi_user_chapter_play_record_6 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_6 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_6 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_6 | map_position | text | YES + bi_user_chapter_play_record_6 | dialog_info | text | YES + bi_user_chapter_play_record_6 | level | character varying | YES + bi_user_chapter_play_record_7 | id | bigint | NO + bi_user_chapter_play_record_7 | user_id | bigint | YES + bi_user_chapter_play_record_7 | chapter_id | bigint | YES + bi_user_chapter_play_record_7 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_7 | play_status | smallint | YES + bi_user_chapter_play_record_7 | story_id | bigint | YES + bi_user_chapter_play_record_7 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_7 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_7 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_7 | map_position | text | YES + bi_user_chapter_play_record_7 | dialog_info | text | YES + bi_user_chapter_play_record_7 | level | character varying | YES + bi_user_component_play_record_0 | id | bigint | NO + bi_user_component_play_record_0 | user_id | bigint | YES + bi_user_component_play_record_0 | chapter_id | bigint | YES + bi_user_component_play_record_0 | chapter_unique_id | character varying | YES + bi_user_component_play_record_0 | component_id | bigint | YES + bi_user_component_play_record_0 | sub_component_type | smallint | YES + bi_user_component_play_record_0 | component_type | smallint | YES + bi_user_component_play_record_0 | comp_type | character varying | YES + bi_user_component_play_record_0 | play_status | smallint | YES + bi_user_component_play_record_0 | pass_time | integer | YES + bi_user_component_play_record_0 | interval_time | integer | YES + bi_user_component_play_record_0 | read_word_count | integer | YES + bi_user_component_play_record_0 | speak_count | integer | YES + bi_user_component_play_record_0 | listen_sentence_count | integer | YES + bi_user_component_play_record_0 | write_word_count | integer | YES + bi_user_component_play_record_0 | created_at | timestamp with time zone | YES + bi_user_component_play_record_0 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_0 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_0 | section_id | bigint | YES + bi_user_component_play_record_0 | component_unique_code | character varying | YES + bi_user_component_play_record_0 | play_result | character varying | YES + bi_user_component_play_record_0 | finish_question_count | integer | YES + bi_user_component_play_record_0 | skill_points | integer | YES + bi_user_component_play_record_0 | c_type | character varying | YES + bi_user_component_play_record_0 | c_id | character varying | YES + bi_user_component_play_record_0 | user_behavior_info | text | YES + bi_user_component_play_record_0 | behavior_analysis_info | text | YES + bi_user_component_play_record_0 | session_id | character varying | YES + bi_user_component_play_record_0 | listen_time | integer | YES + bi_user_component_play_record_0 | dialog_list | text | YES + bi_user_component_play_record_0 | level | character varying | YES + bi_user_component_play_record_1 | id | bigint | NO + bi_user_component_play_record_1 | user_id | bigint | YES + bi_user_component_play_record_1 | chapter_id | bigint | YES + bi_user_component_play_record_1 | chapter_unique_id | character varying | YES + bi_user_component_play_record_1 | component_id | bigint | YES + bi_user_component_play_record_1 | sub_component_type | smallint | YES + bi_user_component_play_record_1 | component_type | smallint | YES + bi_user_component_play_record_1 | comp_type | character varying | YES + bi_user_component_play_record_1 | play_status | smallint | YES + bi_user_component_play_record_1 | pass_time | integer | YES + bi_user_component_play_record_1 | interval_time | integer | YES + bi_user_component_play_record_1 | read_word_count | integer | YES + bi_user_component_play_record_1 | speak_count | integer | YES + bi_user_component_play_record_1 | listen_sentence_count | integer | YES + bi_user_component_play_record_1 | write_word_count | integer | YES + bi_user_component_play_record_1 | created_at | timestamp with time zone | YES + bi_user_component_play_record_1 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_1 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_1 | section_id | bigint | YES + bi_user_component_play_record_1 | component_unique_code | character varying | YES + bi_user_component_play_record_1 | play_result | character varying | YES + bi_user_component_play_record_1 | finish_question_count | integer | YES + bi_user_component_play_record_1 | skill_points | integer | YES + bi_user_component_play_record_1 | c_type | character varying | YES + bi_user_component_play_record_1 | c_id | character varying | YES + bi_user_component_play_record_1 | user_behavior_info | text | YES + bi_user_component_play_record_1 | behavior_analysis_info | text | YES + bi_user_component_play_record_1 | session_id | character varying | YES + bi_user_component_play_record_1 | listen_time | integer | YES + bi_user_component_play_record_1 | dialog_list | text | YES + bi_user_component_play_record_1 | level | character varying | YES + bi_user_component_play_record_2 | id | bigint | NO + bi_user_component_play_record_2 | user_id | bigint | YES + bi_user_component_play_record_2 | chapter_id | bigint | YES + bi_user_component_play_record_2 | chapter_unique_id | character varying | YES + bi_user_component_play_record_2 | component_id | bigint | YES + bi_user_component_play_record_2 | sub_component_type | smallint | YES + bi_user_component_play_record_2 | component_type | smallint | YES + bi_user_component_play_record_2 | comp_type | character varying | YES + bi_user_component_play_record_2 | play_status | smallint | YES + bi_user_component_play_record_2 | pass_time | integer | YES + bi_user_component_play_record_2 | interval_time | integer | YES + bi_user_component_play_record_2 | read_word_count | integer | YES + bi_user_component_play_record_2 | speak_count | integer | YES + bi_user_component_play_record_2 | listen_sentence_count | integer | YES + bi_user_component_play_record_2 | write_word_count | integer | YES + bi_user_component_play_record_2 | created_at | timestamp with time zone | YES + bi_user_component_play_record_2 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_2 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_2 | section_id | bigint | YES + bi_user_component_play_record_2 | component_unique_code | character varying | YES + bi_user_component_play_record_2 | play_result | character varying | YES + bi_user_component_play_record_2 | finish_question_count | integer | YES + bi_user_component_play_record_2 | skill_points | integer | YES + bi_user_component_play_record_2 | c_type | character varying | YES + bi_user_component_play_record_2 | c_id | character varying | YES + bi_user_component_play_record_2 | user_behavior_info | text | YES + bi_user_component_play_record_2 | behavior_analysis_info | text | YES + bi_user_component_play_record_2 | session_id | character varying | YES + bi_user_component_play_record_2 | listen_time | integer | YES + bi_user_component_play_record_2 | dialog_list | text | YES + bi_user_component_play_record_2 | level | character varying | YES + bi_user_component_play_record_3 | id | bigint | NO + bi_user_component_play_record_3 | user_id | bigint | YES + bi_user_component_play_record_3 | chapter_id | bigint | YES + bi_user_component_play_record_3 | chapter_unique_id | character varying | YES + bi_user_component_play_record_3 | component_id | bigint | YES + bi_user_component_play_record_3 | sub_component_type | smallint | YES + bi_user_component_play_record_3 | component_type | smallint | YES + bi_user_component_play_record_3 | comp_type | character varying | YES + bi_user_component_play_record_3 | play_status | smallint | YES + bi_user_component_play_record_3 | pass_time | integer | YES + bi_user_component_play_record_3 | interval_time | integer | YES + bi_user_component_play_record_3 | read_word_count | integer | YES + bi_user_component_play_record_3 | speak_count | integer | YES + bi_user_component_play_record_3 | listen_sentence_count | integer | YES + bi_user_component_play_record_3 | write_word_count | integer | YES + bi_user_component_play_record_3 | created_at | timestamp with time zone | YES + bi_user_component_play_record_3 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_3 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_3 | section_id | bigint | YES + bi_user_component_play_record_3 | component_unique_code | character varying | YES + bi_user_component_play_record_3 | play_result | character varying | YES + bi_user_component_play_record_3 | finish_question_count | integer | YES + bi_user_component_play_record_3 | skill_points | integer | YES + bi_user_component_play_record_3 | c_type | character varying | YES + bi_user_component_play_record_3 | c_id | character varying | YES + bi_user_component_play_record_3 | user_behavior_info | text | YES + bi_user_component_play_record_3 | behavior_analysis_info | text | YES + bi_user_component_play_record_3 | session_id | character varying | YES + bi_user_component_play_record_3 | listen_time | integer | YES + bi_user_component_play_record_3 | dialog_list | text | YES + bi_user_component_play_record_3 | level | character varying | YES + bi_user_component_play_record_4 | id | bigint | NO + bi_user_component_play_record_4 | user_id | bigint | YES + bi_user_component_play_record_4 | chapter_id | bigint | YES + bi_user_component_play_record_4 | chapter_unique_id | character varying | YES + bi_user_component_play_record_4 | component_id | bigint | YES + bi_user_component_play_record_4 | sub_component_type | smallint | YES + bi_user_component_play_record_4 | component_type | smallint | YES + bi_user_component_play_record_4 | comp_type | character varying | YES + bi_user_component_play_record_4 | play_status | smallint | YES + bi_user_component_play_record_4 | pass_time | integer | YES + bi_user_component_play_record_4 | interval_time | integer | YES + bi_user_component_play_record_4 | read_word_count | integer | YES + bi_user_component_play_record_4 | speak_count | integer | YES + bi_user_component_play_record_4 | listen_sentence_count | integer | YES + bi_user_component_play_record_4 | write_word_count | integer | YES + bi_user_component_play_record_4 | created_at | timestamp with time zone | YES + bi_user_component_play_record_4 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_4 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_4 | section_id | bigint | YES + bi_user_component_play_record_4 | component_unique_code | character varying | YES + bi_user_component_play_record_4 | play_result | character varying | YES + bi_user_component_play_record_4 | finish_question_count | integer | YES + bi_user_component_play_record_4 | skill_points | integer | YES + bi_user_component_play_record_4 | c_type | character varying | YES + bi_user_component_play_record_4 | c_id | character varying | YES + bi_user_component_play_record_4 | user_behavior_info | text | YES + bi_user_component_play_record_4 | behavior_analysis_info | text | YES + bi_user_component_play_record_4 | session_id | character varying | YES + bi_user_component_play_record_4 | listen_time | integer | YES + bi_user_component_play_record_4 | dialog_list | text | YES + bi_user_component_play_record_4 | level | character varying | YES + bi_user_component_play_record_5 | id | bigint | NO + bi_user_component_play_record_5 | user_id | bigint | YES + bi_user_component_play_record_5 | chapter_id | bigint | YES + bi_user_component_play_record_5 | chapter_unique_id | character varying | YES + bi_user_component_play_record_5 | component_id | bigint | YES + bi_user_component_play_record_5 | sub_component_type | smallint | YES + bi_user_component_play_record_5 | component_type | smallint | YES + bi_user_component_play_record_5 | comp_type | character varying | YES + bi_user_component_play_record_5 | play_status | smallint | YES + bi_user_component_play_record_5 | pass_time | integer | YES + bi_user_component_play_record_5 | interval_time | integer | YES + bi_user_component_play_record_5 | read_word_count | integer | YES + bi_user_component_play_record_5 | speak_count | integer | YES + bi_user_component_play_record_5 | listen_sentence_count | integer | YES + bi_user_component_play_record_5 | write_word_count | integer | YES + bi_user_component_play_record_5 | created_at | timestamp with time zone | YES + bi_user_component_play_record_5 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_5 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_5 | section_id | bigint | YES + bi_user_component_play_record_5 | component_unique_code | character varying | YES + bi_user_component_play_record_5 | play_result | character varying | YES + bi_user_component_play_record_5 | finish_question_count | integer | YES + bi_user_component_play_record_5 | skill_points | integer | YES + bi_user_component_play_record_5 | c_type | character varying | YES + bi_user_component_play_record_5 | c_id | character varying | YES + bi_user_component_play_record_5 | user_behavior_info | text | YES + bi_user_component_play_record_5 | behavior_analysis_info | text | YES + bi_user_component_play_record_5 | session_id | character varying | YES + bi_user_component_play_record_5 | listen_time | integer | YES + bi_user_component_play_record_5 | dialog_list | text | YES + bi_user_component_play_record_5 | level | character varying | YES + bi_user_component_play_record_6 | id | bigint | NO + bi_user_component_play_record_6 | user_id | bigint | YES + bi_user_component_play_record_6 | chapter_id | bigint | YES + bi_user_component_play_record_6 | chapter_unique_id | character varying | YES + bi_user_component_play_record_6 | component_id | bigint | YES + bi_user_component_play_record_6 | sub_component_type | smallint | YES + bi_user_component_play_record_6 | component_type | smallint | YES + bi_user_component_play_record_6 | comp_type | character varying | YES + bi_user_component_play_record_6 | play_status | smallint | YES + bi_user_component_play_record_6 | pass_time | integer | YES + bi_user_component_play_record_6 | interval_time | integer | YES + bi_user_component_play_record_6 | read_word_count | integer | YES + bi_user_component_play_record_6 | speak_count | integer | YES + bi_user_component_play_record_6 | listen_sentence_count | integer | YES + bi_user_component_play_record_6 | write_word_count | integer | YES + bi_user_component_play_record_6 | created_at | timestamp with time zone | YES + bi_user_component_play_record_6 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_6 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_6 | section_id | bigint | YES + bi_user_component_play_record_6 | component_unique_code | character varying | YES + bi_user_component_play_record_6 | play_result | character varying | YES + bi_user_component_play_record_6 | finish_question_count | integer | YES + bi_user_component_play_record_6 | skill_points | integer | YES + bi_user_component_play_record_6 | c_type | character varying | YES + bi_user_component_play_record_6 | c_id | character varying | YES + bi_user_component_play_record_6 | user_behavior_info | text | YES + bi_user_component_play_record_6 | behavior_analysis_info | text | YES + bi_user_component_play_record_6 | session_id | character varying | YES + bi_user_component_play_record_6 | listen_time | integer | YES + bi_user_component_play_record_6 | dialog_list | text | YES + bi_user_component_play_record_6 | level | character varying | YES + bi_user_component_play_record_7 | id | bigint | NO + bi_user_component_play_record_7 | user_id | bigint | YES + bi_user_component_play_record_7 | chapter_id | bigint | YES + bi_user_component_play_record_7 | chapter_unique_id | character varying | YES + bi_user_component_play_record_7 | component_id | bigint | YES + bi_user_component_play_record_7 | sub_component_type | smallint | YES + bi_user_component_play_record_7 | component_type | smallint | YES + bi_user_component_play_record_7 | comp_type | character varying | YES + bi_user_component_play_record_7 | play_status | smallint | YES + bi_user_component_play_record_7 | pass_time | integer | YES + bi_user_component_play_record_7 | interval_time | integer | YES + bi_user_component_play_record_7 | read_word_count | integer | YES + bi_user_component_play_record_7 | speak_count | integer | YES + bi_user_component_play_record_7 | listen_sentence_count | integer | YES + bi_user_component_play_record_7 | write_word_count | integer | YES + bi_user_component_play_record_7 | created_at | timestamp with time zone | YES + bi_user_component_play_record_7 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_7 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_7 | section_id | bigint | YES + bi_user_component_play_record_7 | component_unique_code | character varying | YES + bi_user_component_play_record_7 | play_result | character varying | YES + bi_user_component_play_record_7 | finish_question_count | integer | YES + bi_user_component_play_record_7 | skill_points | integer | YES + bi_user_component_play_record_7 | c_type | character varying | YES + bi_user_component_play_record_7 | c_id | character varying | YES + bi_user_component_play_record_7 | user_behavior_info | text | YES + bi_user_component_play_record_7 | behavior_analysis_info | text | YES + bi_user_component_play_record_7 | session_id | character varying | YES + bi_user_component_play_record_7 | listen_time | integer | YES + bi_user_component_play_record_7 | dialog_list | text | YES + bi_user_component_play_record_7 | level | character varying | YES + bi_user_course_detail | id | integer | NO + bi_user_course_detail | created_at | timestamp with time zone | YES + bi_user_course_detail | updated_at | timestamp with time zone | YES + bi_user_course_detail | account_id | integer | YES + bi_user_course_detail | user_id | integer | YES + bi_user_course_detail | course_level | text | YES + bi_user_course_detail | active_time | timestamp with time zone | YES + bi_user_course_detail | expire_time | timestamp with time zone | YES + bi_user_course_detail | latest_unit_index | integer | YES + bi_user_course_detail | latest_lesson_index | integer | YES + bi_user_course_detail | learn_duration | integer | YES + bi_user_course_detail | last_learn_time | timestamp with time zone | YES + bi_user_course_detail | deleted_at | timestamp with time zone | YES + bi_user_task_log | id | integer | NO + bi_user_task_log | user_id | integer | NO + bi_user_task_log | task_type | integer | NO + bi_user_task_log | task_id | integer | NO + bi_user_task_log | status | integer | NO + bi_user_task_log | start_time | bigint | NO + bi_user_task_log | updated_at | timestamp with time zone | YES + bi_user_task_log | created_at | timestamp with time zone | YES + bi_user_unit_challenge_question_result | id | bigint | NO + bi_user_unit_challenge_question_result | user_id | bigint | YES + bi_user_unit_challenge_question_result | story_id | bigint | YES + bi_user_unit_challenge_question_result | score | integer | YES + bi_user_unit_challenge_question_result | score_text | character varying | YES + bi_user_unit_challenge_question_result | question_list | text | YES + bi_user_unit_challenge_question_result | sp_value | integer | YES + bi_user_unit_challenge_question_result | created_at | timestamp with time zone | YES + bi_user_unit_challenge_question_result | updated_at | timestamp with time zone | YES + bi_user_unit_challenge_question_result | deleted_at | timestamp with time zone | YES + bi_user_unit_challenge_question_result | category | character varying | YES + bi_user_unit_challenge_question_result | exp | integer | YES + bi_user_unit_challenge_question_result | play_time | bigint | YES + bi_user_unit_challenge_question_result | read_word_count | bigint | YES + bi_user_unit_challenge_question_result | listen_time | bigint | YES + bi_user_unit_challenge_question_result | speak_count | bigint | YES + bi_user_unit_challenge_question_result | level | character varying | YES + bi_user_unit_review_question_result | id | bigint | NO + bi_user_unit_review_question_result | user_id | bigint | YES + bi_user_unit_review_question_result | story_id | bigint | YES + bi_user_unit_review_question_result | chapter_id | bigint | YES + bi_user_unit_review_question_result | unique_id | character varying | YES + bi_user_unit_review_question_result | score | integer | YES + bi_user_unit_review_question_result | score_text | character varying | YES + bi_user_unit_review_question_result | question_list | text | YES + bi_user_unit_review_question_result | sp_value | integer | YES + bi_user_unit_review_question_result | exp | integer | YES + bi_user_unit_review_question_result | created_at | timestamp with time zone | YES + bi_user_unit_review_question_result | updated_at | timestamp with time zone | YES + bi_user_unit_review_question_result | deleted_at | timestamp with time zone | YES + bi_user_unit_review_question_result | play_time | bigint | YES + bi_user_unit_review_question_result | level | character varying | YES + bi_user_unit_summary_km_result | id | bigint | NO + bi_user_unit_summary_km_result | user_id | bigint | YES + bi_user_unit_summary_km_result | story_id | bigint | YES + bi_user_unit_summary_km_result | km_id | character varying | YES + bi_user_unit_summary_km_result | km_type | character varying | YES + bi_user_unit_summary_km_result | score_text | character varying | YES + bi_user_unit_summary_km_result | sp_value | integer | YES + bi_user_unit_summary_km_result | created_at | timestamp with time zone | YES + bi_user_unit_summary_km_result | updated_at | timestamp with time zone | YES + bi_user_unit_summary_km_result | deleted_at | timestamp with time zone | YES + bi_user_unit_summary_km_result | play_time | bigint | YES + bi_user_unit_summary_km_result | sum_explain | text | YES + bi_user_unit_summary_km_result | level | character varying | YES + bi_vala_app_account | id | bigint | NO + bi_vala_app_account | tel | character varying | YES + bi_vala_app_account | tel_encrypt | character varying | YES + bi_vala_app_account | name | character varying | YES + bi_vala_app_account | id_card | character varying | YES + bi_vala_app_account | status | smallint | NO + bi_vala_app_account | pay_status | integer | YES + bi_vala_app_account | login_times | integer | YES + bi_vala_app_account | remark | text | YES + bi_vala_app_account | key_from | character varying | NO + bi_vala_app_account | created_at | timestamp with time zone | YES + bi_vala_app_account | updated_at | timestamp with time zone | YES + bi_vala_app_account | deleted_at | timestamp with time zone | YES + bi_vala_app_account | download_channel | text | YES + bi_vala_app_character | id | bigint | NO + bi_vala_app_character | account_id | bigint | YES + bi_vala_app_character | nickname | character varying | YES + bi_vala_app_character | gender | smallint | YES + bi_vala_app_character | birthday | character varying | YES + bi_vala_app_character | avatar | text | YES + bi_vala_app_character | spine_name | character varying | YES + bi_vala_app_character | latest_login | timestamp with time zone | YES + bi_vala_app_character | reputation | character | YES + bi_vala_app_character | robots_cnt | integer | YES + bi_vala_app_character | head_image | character varying | YES + bi_vala_app_character | status | smallint | YES + bi_vala_app_character | purchase_season_package | text | YES + bi_vala_app_character | total_sp_point | integer | YES + bi_vala_app_character | balance_sp_point | integer | YES + bi_vala_app_character | point | integer | YES + bi_vala_app_character | pay_status | smallint | YES + bi_vala_app_character | created_at | timestamp with time zone | YES + bi_vala_app_character | updated_at | timestamp with time zone | YES + bi_vala_app_character | deleted_at | timestamp with time zone | YES + bi_vala_app_character | mood | integer | YES + bi_vala_app_character | mood_start_time | bigint | YES + bi_vala_order | id | bigint | NO + bi_vala_order | account_id | bigint | YES + bi_vala_order | out_trade_no | character varying | YES + bi_vala_order | trade_no | character varying | YES + bi_vala_order | pay_amount | character varying | YES + bi_vala_order | goods_id | bigint | YES + bi_vala_order | order_status | integer | YES + bi_vala_order | order_status_comment | text | YES + bi_vala_order | is_used | integer | YES + bi_vala_order | sale_channel | integer | YES + bi_vala_order | created_at | timestamp with time zone | YES + bi_vala_order | updated_at | timestamp with time zone | YES + bi_vala_order | deleted_at | timestamp with time zone | YES + bi_vala_order | pay_channel | integer | YES + bi_vala_order | pay_amount_int | integer | YES + bi_vala_order | pay_success_date | timestamp with time zone | YES + bi_vala_order | quantity | integer | NO + bi_vala_order | goods_name | text | NO + bi_vala_order | goods_apply_package_ids | text | NO + bi_vala_order | key_from | text | NO + bi_vala_order | expire_days | integer | YES + data_sync_config | id | bigint | NO + data_sync_config | job_name | text | NO + data_sync_config | database_name | text | YES + data_sync_config | origin_table | text | YES + data_sync_config | dest_table | text | YES + data_sync_config | deal_time | timestamp with time zone | YES + data_sync_config | full_id | bigint | NO + data_sync_config | created_at | timestamp with time zone | NO + data_sync_config | updated_at | timestamp with time zone | YES + feishu_table_record | id | bigint | NO + feishu_table_record | data_table | text | NO + feishu_table_record | record_id | text | YES + feishu_table_record | created_at | timestamp with time zone | NO + growth_activity_behavior | id | integer | NO + growth_activity_behavior | es_id | character varying | NO + growth_activity_behavior | account_id | integer | YES + growth_activity_behavior | account_name | character varying | YES + growth_activity_behavior | activity | text | YES + growth_activity_behavior | behavior | character varying | YES + growth_activity_behavior | created_at | timestamp with time zone | YES + growth_activity_behavior | info | text | YES + growth_activity_behavior | source | character varying | YES + growth_activity_behavior | sub_behavior | character varying | YES + growth_activity_behavior | user_id | integer | YES + growth_activity_behavior | user_name | character varying | YES + user_behavior_0 | id | bigint | NO + user_behavior_0 | user_id | integer | YES + user_behavior_0 | behavior | text | YES + user_behavior_0 | behavior_time_date | text | NO + user_behavior_0 | created_time | timestamp with time zone | NO + user_behavior_1 | id | bigint | NO + user_behavior_1 | user_id | integer | YES + user_behavior_1 | behavior | text | YES + user_behavior_1 | behavior_time_date | text | NO + user_behavior_1 | created_time | timestamp with time zone | NO + user_behavior_10 | id | bigint | NO + user_behavior_10 | user_id | integer | YES + user_behavior_10 | behavior | text | YES + user_behavior_10 | behavior_time_date | text | NO + user_behavior_10 | created_time | timestamp with time zone | NO + user_behavior_11 | id | bigint | NO + user_behavior_11 | user_id | integer | YES + user_behavior_11 | behavior | text | YES + user_behavior_11 | behavior_time_date | text | NO + user_behavior_11 | created_time | timestamp with time zone | NO + user_behavior_12 | id | bigint | NO + user_behavior_12 | user_id | integer | YES + user_behavior_12 | behavior | text | YES + user_behavior_12 | behavior_time_date | text | NO + user_behavior_12 | created_time | timestamp with time zone | NO + user_behavior_13 | id | bigint | NO + user_behavior_13 | user_id | integer | YES + user_behavior_13 | behavior | text | YES + user_behavior_13 | behavior_time_date | text | NO + user_behavior_13 | created_time | timestamp with time zone | NO + user_behavior_14 | id | bigint | NO + user_behavior_14 | user_id | integer | YES + user_behavior_14 | behavior | text | YES + user_behavior_14 | behavior_time_date | text | NO + user_behavior_14 | created_time | timestamp with time zone | NO + user_behavior_15 | id | bigint | NO + user_behavior_15 | user_id | integer | YES + user_behavior_15 | behavior | text | YES + user_behavior_15 | behavior_time_date | text | NO + user_behavior_15 | created_time | timestamp with time zone | NO + user_behavior_2 | id | bigint | NO + user_behavior_2 | user_id | integer | YES + user_behavior_2 | behavior | text | YES + user_behavior_2 | behavior_time_date | text | NO + user_behavior_2 | created_time | timestamp with time zone | NO + user_behavior_3 | id | bigint | NO + user_behavior_3 | user_id | integer | YES + user_behavior_3 | behavior | text | YES + user_behavior_3 | behavior_time_date | text | NO + user_behavior_3 | created_time | timestamp with time zone | NO + user_behavior_4 | id | bigint | NO + user_behavior_4 | user_id | integer | YES + user_behavior_4 | behavior | text | YES + user_behavior_4 | behavior_time_date | text | NO + user_behavior_4 | created_time | timestamp with time zone | NO + user_behavior_5 | id | bigint | NO + user_behavior_5 | user_id | integer | YES + user_behavior_5 | behavior | text | YES + user_behavior_5 | behavior_time_date | text | NO + user_behavior_5 | created_time | timestamp with time zone | NO + user_behavior_6 | id | bigint | NO + user_behavior_6 | user_id | integer | YES + user_behavior_6 | behavior | text | YES + user_behavior_6 | behavior_time_date | text | NO + user_behavior_6 | created_time | timestamp with time zone | NO + user_behavior_7 | id | bigint | NO + user_behavior_7 | user_id | integer | YES + user_behavior_7 | behavior | text | YES + user_behavior_7 | behavior_time_date | text | NO + user_behavior_7 | created_time | timestamp with time zone | NO + user_behavior_8 | id | bigint | NO + user_behavior_8 | user_id | integer | YES + user_behavior_8 | behavior | text | YES + user_behavior_8 | behavior_time_date | text | NO + user_behavior_8 | created_time | timestamp with time zone | NO + user_behavior_9 | id | bigint | NO + user_behavior_9 | user_id | integer | YES + user_behavior_9 | behavior | text | YES + user_behavior_9 | behavior_time_date | text | NO + user_behavior_9 | created_time | timestamp with time zone | NO + user_behavior_buried_points | id | integer | NO + user_behavior_buried_points | burying_point_id | integer | YES + user_behavior_buried_points | burying_point_name | character varying | YES + user_behavior_buried_points | burying_point_sub_id | integer | YES + user_behavior_buried_points | burying_point_sub_name | character varying | YES + user_behavior_buried_points | account_id | integer | YES + user_behavior_buried_points | account_name | character varying | YES + user_behavior_buried_points | character_id | integer | YES + user_behavior_buried_points | character_name | character varying | YES + user_behavior_buried_points | active_time | integer | YES + user_behavior_buried_points | version_id | character varying | YES + user_behavior_buried_points | step_duration | integer | YES + user_behavior_buried_points | finish_status | character varying | YES + user_behavior_buried_points | season_package_id | integer | YES + user_behavior_buried_points | season_package_name | character varying | YES + user_behavior_buried_points | unit_id | integer | YES + user_behavior_buried_points | unit_name | character varying | YES + user_behavior_buried_points | lesson_id | integer | YES + user_behavior_buried_points | lesson_name | character varying | YES + user_behavior_buried_points | component_id | integer | YES + user_behavior_buried_points | component_name | character varying | YES + user_behavior_buried_points | c_type | character varying | YES + user_behavior_buried_points | c_id | character varying | YES + user_behavior_buried_points | learning_module_id | integer | YES + user_behavior_buried_points | learning_module_name | character varying | YES + user_behavior_buried_points | learning_point_id | integer | YES + user_behavior_buried_points | learning_point_name | character varying | YES + user_behavior_buried_points | card_id | integer | YES + user_behavior_buried_points | card_name | character varying | YES + user_behavior_buried_points | data_version | character varying | YES + user_behavior_buried_points | ex2 | text | YES + user_behavior_buried_points | ex3 | text | YES + user_behavior_buried_points | es_id | character varying | YES + user_behavior_count_tmp | behavior | text | YES + user_behavior_count_tmp | register_time_date | text | NO + user_behavior_count_tmp | count | integer | YES + user_detail_info | id | bigint | NO + user_detail_info | user_id | integer | YES + user_detail_info | latest_login_time | bigint | YES + user_detail_info | latest_active_time | bigint | YES + user_detail_info | created_time | timestamp with time zone | NO + user_done_duration | id | bigint | NO + user_done_duration | user_id | integer | YES + user_done_duration | chapter_id | integer | YES + user_done_duration | duration | integer | YES + user_done_duration | created_time | timestamp with time zone | NO + user_learning | id | bigint | NO + user_learning | user_id | integer | YES + user_learning | stat_date | text | NO + user_learning | learning_time | integer | YES + user_learning | created_time | timestamp with time zone | NO +(674 rows) + diff --git a/pg_test_full.txt b/pg_test_full.txt new file mode 100644 index 0000000..bee2858 --- /dev/null +++ b/pg_test_full.txt @@ -0,0 +1,628 @@ + table_name | column_name | data_type | is_nullable +----------------------------------------+-------------------------+--------------------------+------------- + account_activity_count | id | bigint | NO + account_activity_count | time_period | integer | YES + account_activity_count | counts | integer | YES + account_activity_count | stat_date | text | NO + account_activity_count | created_time | timestamp with time zone | NO + account_behavior_count | id | bigint | NO + account_behavior_count | count | integer | YES + account_behavior_count | behavior | text | YES + account_behavior_count | behavior_group | text | NO + account_behavior_count | stat_date | text | NO + account_behavior_count | dt | text | NO + account_behavior_count | created_time | timestamp with time zone | NO + account_detail_info | id | bigint | NO + account_detail_info | account_id | integer | YES + account_detail_info | login_time | text | YES + account_detail_info | device | text | YES + account_detail_info | device_os | text | YES + account_detail_info | login_address | text | YES + account_detail_info | login_times | integer | YES + account_detail_info | created_time | timestamp with time zone | NO + account_device | id | bigint | NO + account_device | account_id | integer | YES + account_device | device | text | YES + account_device | created_time | timestamp with time zone | NO + account_login | id | bigint | NO + account_login | account_id | integer | YES + account_login | login_date | text | NO + account_login | created_time | timestamp with time zone | NO + account_login | status | integer | NO + account_paid_activity_count | id | integer | NO + account_paid_activity_count | time_period | integer | YES + account_paid_activity_count | counts | integer | YES + account_paid_activity_count | stat_date | text | NO + account_paid_activity_count | created_time | timestamp with time zone | NO + bi_refund_order | id | bigint | NO + bi_refund_order | account_id | bigint | YES + bi_refund_order | out_trade_no | character varying | YES + bi_refund_order | trade_no | character varying | YES + bi_refund_order | refund_amount | character varying | YES + bi_refund_order | created_at | timestamp with time zone | YES + bi_refund_order | updated_at | timestamp with time zone | YES + bi_refund_order | deleted_at | timestamp with time zone | YES + bi_refund_order | refund_amount_int | integer | NO + bi_refund_order | reason | text | NO + bi_refund_order | sale_channel | integer | NO + bi_refund_order | status | integer | NO + bi_refund_order | is_admin | boolean | NO + bi_refund_order | channel_refund_id | bigint | NO + bi_refund_order | refund_ticket_ids | text | YES + bi_refund_order | refund_type | integer | NO + bi_refund_order | refund_method | integer | NO + bi_refund_order | after_sale_no | text | YES + bi_user_chapter_play_record_0 | id | bigint | NO + bi_user_chapter_play_record_0 | user_id | bigint | YES + bi_user_chapter_play_record_0 | chapter_id | bigint | YES + bi_user_chapter_play_record_0 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_0 | play_status | smallint | YES + bi_user_chapter_play_record_0 | story_id | bigint | YES + bi_user_chapter_play_record_0 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_0 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_0 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_0 | map_position | text | YES + bi_user_chapter_play_record_0 | dialog_info | text | YES + bi_user_chapter_play_record_0 | level | character varying | YES + bi_user_chapter_play_record_1 | id | bigint | NO + bi_user_chapter_play_record_1 | user_id | bigint | YES + bi_user_chapter_play_record_1 | chapter_id | bigint | YES + bi_user_chapter_play_record_1 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_1 | play_status | smallint | YES + bi_user_chapter_play_record_1 | story_id | bigint | YES + bi_user_chapter_play_record_1 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_1 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_1 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_1 | map_position | text | YES + bi_user_chapter_play_record_1 | dialog_info | text | YES + bi_user_chapter_play_record_1 | level | character varying | YES + bi_user_chapter_play_record_2 | id | bigint | NO + bi_user_chapter_play_record_2 | user_id | bigint | YES + bi_user_chapter_play_record_2 | chapter_id | bigint | YES + bi_user_chapter_play_record_2 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_2 | play_status | smallint | YES + bi_user_chapter_play_record_2 | story_id | bigint | YES + bi_user_chapter_play_record_2 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_2 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_2 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_2 | map_position | text | YES + bi_user_chapter_play_record_2 | dialog_info | text | YES + bi_user_chapter_play_record_2 | level | character varying | YES + bi_user_chapter_play_record_3 | id | bigint | NO + bi_user_chapter_play_record_3 | user_id | bigint | YES + bi_user_chapter_play_record_3 | chapter_id | bigint | YES + bi_user_chapter_play_record_3 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_3 | play_status | smallint | YES + bi_user_chapter_play_record_3 | story_id | bigint | YES + bi_user_chapter_play_record_3 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_3 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_3 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_3 | map_position | text | YES + bi_user_chapter_play_record_3 | dialog_info | text | YES + bi_user_chapter_play_record_3 | level | character varying | YES + bi_user_chapter_play_record_4 | id | bigint | NO + bi_user_chapter_play_record_4 | user_id | bigint | YES + bi_user_chapter_play_record_4 | chapter_id | bigint | YES + bi_user_chapter_play_record_4 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_4 | play_status | smallint | YES + bi_user_chapter_play_record_4 | story_id | bigint | YES + bi_user_chapter_play_record_4 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_4 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_4 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_4 | map_position | text | YES + bi_user_chapter_play_record_4 | dialog_info | text | YES + bi_user_chapter_play_record_4 | level | character varying | YES + bi_user_chapter_play_record_5 | id | bigint | NO + bi_user_chapter_play_record_5 | user_id | bigint | YES + bi_user_chapter_play_record_5 | chapter_id | bigint | YES + bi_user_chapter_play_record_5 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_5 | play_status | smallint | YES + bi_user_chapter_play_record_5 | story_id | bigint | YES + bi_user_chapter_play_record_5 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_5 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_5 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_5 | map_position | text | YES + bi_user_chapter_play_record_5 | dialog_info | text | YES + bi_user_chapter_play_record_5 | level | character varying | YES + bi_user_chapter_play_record_6 | id | bigint | NO + bi_user_chapter_play_record_6 | user_id | bigint | YES + bi_user_chapter_play_record_6 | chapter_id | bigint | YES + bi_user_chapter_play_record_6 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_6 | play_status | smallint | YES + bi_user_chapter_play_record_6 | story_id | bigint | YES + bi_user_chapter_play_record_6 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_6 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_6 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_6 | map_position | text | YES + bi_user_chapter_play_record_6 | dialog_info | text | YES + bi_user_chapter_play_record_6 | level | character varying | YES + bi_user_chapter_play_record_7 | id | bigint | NO + bi_user_chapter_play_record_7 | user_id | bigint | YES + bi_user_chapter_play_record_7 | chapter_id | bigint | YES + bi_user_chapter_play_record_7 | chapter_unique_id | character varying | YES + bi_user_chapter_play_record_7 | play_status | smallint | YES + bi_user_chapter_play_record_7 | story_id | bigint | YES + bi_user_chapter_play_record_7 | created_at | timestamp with time zone | YES + bi_user_chapter_play_record_7 | updated_at | timestamp with time zone | YES + bi_user_chapter_play_record_7 | deleted_at | timestamp with time zone | YES + bi_user_chapter_play_record_7 | map_position | text | YES + bi_user_chapter_play_record_7 | dialog_info | text | YES + bi_user_chapter_play_record_7 | level | character varying | YES + bi_user_component_play_record_0 | id | bigint | NO + bi_user_component_play_record_0 | user_id | bigint | YES + bi_user_component_play_record_0 | chapter_id | bigint | YES + bi_user_component_play_record_0 | chapter_unique_id | character varying | YES + bi_user_component_play_record_0 | component_id | bigint | YES + bi_user_component_play_record_0 | sub_component_type | smallint | YES + bi_user_component_play_record_0 | component_type | smallint | YES + bi_user_component_play_record_0 | comp_type | character varying | YES + bi_user_component_play_record_0 | play_status | smallint | YES + bi_user_component_play_record_0 | pass_time | integer | YES + bi_user_component_play_record_0 | interval_time | integer | YES + bi_user_component_play_record_0 | read_word_count | integer | YES + bi_user_component_play_record_0 | speak_count | integer | YES + bi_user_component_play_record_0 | listen_sentence_count | integer | YES + bi_user_component_play_record_0 | write_word_count | integer | YES + bi_user_component_play_record_0 | created_at | timestamp with time zone | YES + bi_user_component_play_record_0 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_0 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_0 | section_id | bigint | YES + bi_user_component_play_record_0 | component_unique_code | character varying | YES + bi_user_component_play_record_0 | play_result | character varying | YES + bi_user_component_play_record_0 | finish_question_count | integer | YES + bi_user_component_play_record_0 | skill_points | integer | YES + bi_user_component_play_record_0 | c_type | character varying | YES + bi_user_component_play_record_0 | c_id | character varying | YES + bi_user_component_play_record_0 | user_behavior_info | text | YES + bi_user_component_play_record_0 | behavior_analysis_info | text | YES + bi_user_component_play_record_0 | session_id | character varying | YES + bi_user_component_play_record_0 | listen_time | integer | YES + bi_user_component_play_record_0 | dialog_list | text | YES + bi_user_component_play_record_0 | level | character varying | YES + bi_user_component_play_record_1 | id | bigint | NO + bi_user_component_play_record_1 | user_id | bigint | YES + bi_user_component_play_record_1 | chapter_id | bigint | YES + bi_user_component_play_record_1 | chapter_unique_id | character varying | YES + bi_user_component_play_record_1 | component_id | bigint | YES + bi_user_component_play_record_1 | sub_component_type | smallint | YES + bi_user_component_play_record_1 | component_type | smallint | YES + bi_user_component_play_record_1 | comp_type | character varying | YES + bi_user_component_play_record_1 | play_status | smallint | YES + bi_user_component_play_record_1 | pass_time | integer | YES + bi_user_component_play_record_1 | interval_time | integer | YES + bi_user_component_play_record_1 | read_word_count | integer | YES + bi_user_component_play_record_1 | speak_count | integer | YES + bi_user_component_play_record_1 | listen_sentence_count | integer | YES + bi_user_component_play_record_1 | write_word_count | integer | YES + bi_user_component_play_record_1 | created_at | timestamp with time zone | YES + bi_user_component_play_record_1 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_1 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_1 | section_id | bigint | YES + bi_user_component_play_record_1 | component_unique_code | character varying | YES + bi_user_component_play_record_1 | play_result | character varying | YES + bi_user_component_play_record_1 | finish_question_count | integer | YES + bi_user_component_play_record_1 | skill_points | integer | YES + bi_user_component_play_record_1 | c_type | character varying | YES + bi_user_component_play_record_1 | c_id | character varying | YES + bi_user_component_play_record_1 | user_behavior_info | text | YES + bi_user_component_play_record_1 | behavior_analysis_info | text | YES + bi_user_component_play_record_1 | session_id | character varying | YES + bi_user_component_play_record_1 | listen_time | integer | YES + bi_user_component_play_record_1 | dialog_list | text | YES + bi_user_component_play_record_1 | level | character varying | YES + bi_user_component_play_record_2 | id | bigint | NO + bi_user_component_play_record_2 | user_id | bigint | YES + bi_user_component_play_record_2 | chapter_id | bigint | YES + bi_user_component_play_record_2 | chapter_unique_id | character varying | YES + bi_user_component_play_record_2 | component_id | bigint | YES + bi_user_component_play_record_2 | sub_component_type | smallint | YES + bi_user_component_play_record_2 | component_type | smallint | YES + bi_user_component_play_record_2 | comp_type | character varying | YES + bi_user_component_play_record_2 | play_status | smallint | YES + bi_user_component_play_record_2 | pass_time | integer | YES + bi_user_component_play_record_2 | interval_time | integer | YES + bi_user_component_play_record_2 | read_word_count | integer | YES + bi_user_component_play_record_2 | speak_count | integer | YES + bi_user_component_play_record_2 | listen_sentence_count | integer | YES + bi_user_component_play_record_2 | write_word_count | integer | YES + bi_user_component_play_record_2 | created_at | timestamp with time zone | YES + bi_user_component_play_record_2 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_2 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_2 | section_id | bigint | YES + bi_user_component_play_record_2 | component_unique_code | character varying | YES + bi_user_component_play_record_2 | play_result | character varying | YES + bi_user_component_play_record_2 | finish_question_count | integer | YES + bi_user_component_play_record_2 | skill_points | integer | YES + bi_user_component_play_record_2 | c_type | character varying | YES + bi_user_component_play_record_2 | c_id | character varying | YES + bi_user_component_play_record_2 | user_behavior_info | text | YES + bi_user_component_play_record_2 | behavior_analysis_info | text | YES + bi_user_component_play_record_2 | session_id | character varying | YES + bi_user_component_play_record_2 | listen_time | integer | YES + bi_user_component_play_record_2 | dialog_list | text | YES + bi_user_component_play_record_2 | level | character varying | YES + bi_user_component_play_record_3 | id | bigint | NO + bi_user_component_play_record_3 | user_id | bigint | YES + bi_user_component_play_record_3 | chapter_id | bigint | YES + bi_user_component_play_record_3 | chapter_unique_id | character varying | YES + bi_user_component_play_record_3 | component_id | bigint | YES + bi_user_component_play_record_3 | sub_component_type | smallint | YES + bi_user_component_play_record_3 | component_type | smallint | YES + bi_user_component_play_record_3 | comp_type | character varying | YES + bi_user_component_play_record_3 | play_status | smallint | YES + bi_user_component_play_record_3 | pass_time | integer | YES + bi_user_component_play_record_3 | interval_time | integer | YES + bi_user_component_play_record_3 | read_word_count | integer | YES + bi_user_component_play_record_3 | speak_count | integer | YES + bi_user_component_play_record_3 | listen_sentence_count | integer | YES + bi_user_component_play_record_3 | write_word_count | integer | YES + bi_user_component_play_record_3 | created_at | timestamp with time zone | YES + bi_user_component_play_record_3 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_3 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_3 | section_id | bigint | YES + bi_user_component_play_record_3 | component_unique_code | character varying | YES + bi_user_component_play_record_3 | play_result | character varying | YES + bi_user_component_play_record_3 | finish_question_count | integer | YES + bi_user_component_play_record_3 | skill_points | integer | YES + bi_user_component_play_record_3 | c_type | character varying | YES + bi_user_component_play_record_3 | c_id | character varying | YES + bi_user_component_play_record_3 | user_behavior_info | text | YES + bi_user_component_play_record_3 | behavior_analysis_info | text | YES + bi_user_component_play_record_3 | session_id | character varying | YES + bi_user_component_play_record_3 | listen_time | integer | YES + bi_user_component_play_record_3 | dialog_list | text | YES + bi_user_component_play_record_3 | level | character varying | YES + bi_user_component_play_record_4 | id | bigint | NO + bi_user_component_play_record_4 | user_id | bigint | YES + bi_user_component_play_record_4 | chapter_id | bigint | YES + bi_user_component_play_record_4 | chapter_unique_id | character varying | YES + bi_user_component_play_record_4 | component_id | bigint | YES + bi_user_component_play_record_4 | sub_component_type | smallint | YES + bi_user_component_play_record_4 | component_type | smallint | YES + bi_user_component_play_record_4 | comp_type | character varying | YES + bi_user_component_play_record_4 | play_status | smallint | YES + bi_user_component_play_record_4 | pass_time | integer | YES + bi_user_component_play_record_4 | interval_time | integer | YES + bi_user_component_play_record_4 | read_word_count | integer | YES + bi_user_component_play_record_4 | speak_count | integer | YES + bi_user_component_play_record_4 | listen_sentence_count | integer | YES + bi_user_component_play_record_4 | write_word_count | integer | YES + bi_user_component_play_record_4 | created_at | timestamp with time zone | YES + bi_user_component_play_record_4 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_4 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_4 | section_id | bigint | YES + bi_user_component_play_record_4 | component_unique_code | character varying | YES + bi_user_component_play_record_4 | play_result | character varying | YES + bi_user_component_play_record_4 | finish_question_count | integer | YES + bi_user_component_play_record_4 | skill_points | integer | YES + bi_user_component_play_record_4 | c_type | character varying | YES + bi_user_component_play_record_4 | c_id | character varying | YES + bi_user_component_play_record_4 | user_behavior_info | text | YES + bi_user_component_play_record_4 | behavior_analysis_info | text | YES + bi_user_component_play_record_4 | session_id | character varying | YES + bi_user_component_play_record_4 | listen_time | integer | YES + bi_user_component_play_record_4 | dialog_list | text | YES + bi_user_component_play_record_4 | level | character varying | YES + bi_user_component_play_record_5 | id | bigint | NO + bi_user_component_play_record_5 | user_id | bigint | YES + bi_user_component_play_record_5 | chapter_id | bigint | YES + bi_user_component_play_record_5 | chapter_unique_id | character varying | YES + bi_user_component_play_record_5 | component_id | bigint | YES + bi_user_component_play_record_5 | sub_component_type | smallint | YES + bi_user_component_play_record_5 | component_type | smallint | YES + bi_user_component_play_record_5 | comp_type | character varying | YES + bi_user_component_play_record_5 | play_status | smallint | YES + bi_user_component_play_record_5 | pass_time | integer | YES + bi_user_component_play_record_5 | interval_time | integer | YES + bi_user_component_play_record_5 | read_word_count | integer | YES + bi_user_component_play_record_5 | speak_count | integer | YES + bi_user_component_play_record_5 | listen_sentence_count | integer | YES + bi_user_component_play_record_5 | write_word_count | integer | YES + bi_user_component_play_record_5 | created_at | timestamp with time zone | YES + bi_user_component_play_record_5 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_5 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_5 | section_id | bigint | YES + bi_user_component_play_record_5 | component_unique_code | character varying | YES + bi_user_component_play_record_5 | play_result | character varying | YES + bi_user_component_play_record_5 | finish_question_count | integer | YES + bi_user_component_play_record_5 | skill_points | integer | YES + bi_user_component_play_record_5 | c_type | character varying | YES + bi_user_component_play_record_5 | c_id | character varying | YES + bi_user_component_play_record_5 | user_behavior_info | text | YES + bi_user_component_play_record_5 | behavior_analysis_info | text | YES + bi_user_component_play_record_5 | session_id | character varying | YES + bi_user_component_play_record_5 | listen_time | integer | YES + bi_user_component_play_record_5 | dialog_list | text | YES + bi_user_component_play_record_5 | level | character varying | YES + bi_user_component_play_record_6 | id | bigint | NO + bi_user_component_play_record_6 | user_id | bigint | YES + bi_user_component_play_record_6 | chapter_id | bigint | YES + bi_user_component_play_record_6 | chapter_unique_id | character varying | YES + bi_user_component_play_record_6 | component_id | bigint | YES + bi_user_component_play_record_6 | sub_component_type | smallint | YES + bi_user_component_play_record_6 | component_type | smallint | YES + bi_user_component_play_record_6 | comp_type | character varying | YES + bi_user_component_play_record_6 | play_status | smallint | YES + bi_user_component_play_record_6 | pass_time | integer | YES + bi_user_component_play_record_6 | interval_time | integer | YES + bi_user_component_play_record_6 | read_word_count | integer | YES + bi_user_component_play_record_6 | speak_count | integer | YES + bi_user_component_play_record_6 | listen_sentence_count | integer | YES + bi_user_component_play_record_6 | write_word_count | integer | YES + bi_user_component_play_record_6 | created_at | timestamp with time zone | YES + bi_user_component_play_record_6 | updated_at | timestamp with time zone | YES + bi_user_component_play_record_6 | deleted_at | timestamp with time zone | YES + bi_user_component_play_record_6 | section_id | bigint | YES + bi_user_component_play_record_6 | component_unique_code | character varying | YES + bi_user_component_play_record_6 | play_result | character varying | YES + bi_user_component_play_record_6 | finish_question_count | integer | YES + bi_user_component_play_record_6 | skill_points | integer | YES + bi_user_component_play_record_6 | c_type | character varying | YES + bi_user_component_play_record_6 | c_id | character varying | YES + bi_user_component_play_record_6 | user_behavior_info | text | YES + bi_user_component_play_record_6 | behavior_analysis_info | text | YES + bi_user_component_play_record_6 | session_id | character varying | YES + bi_user_component_play_record_6 | listen_time | integer | YES + bi_user_component_play_record_6 | dialog_list | text | YES + bi_user_component_play_record_6 | level | character varying | YES + bi_user_course_detail | id | integer | NO + bi_user_course_detail | created_at | timestamp with time zone | YES + bi_user_course_detail | updated_at | timestamp with time zone | YES + bi_user_course_detail | account_id | integer | YES + bi_user_course_detail | user_id | integer | YES + bi_user_course_detail | course_level | text | YES + bi_user_course_detail | active_time | timestamp with time zone | YES + bi_user_course_detail | expire_time | timestamp with time zone | YES + bi_user_course_detail | latest_unit_index | integer | YES + bi_user_course_detail | latest_lesson_index | integer | YES + bi_user_course_detail | learn_duration | integer | YES + bi_user_course_detail | last_learn_time | timestamp with time zone | YES + bi_user_course_detail | deleted_at | timestamp with time zone | YES + bi_user_unit_challenge_question_result | id | bigint | NO + bi_user_unit_challenge_question_result | user_id | bigint | YES + bi_user_unit_challenge_question_result | story_id | bigint | YES + bi_user_unit_challenge_question_result | score | integer | YES + bi_user_unit_challenge_question_result | score_text | character varying | YES + bi_user_unit_challenge_question_result | question_list | text | YES + bi_user_unit_challenge_question_result | sp_value | integer | YES + bi_user_unit_challenge_question_result | created_at | timestamp with time zone | YES + bi_user_unit_challenge_question_result | updated_at | timestamp with time zone | YES + bi_user_unit_challenge_question_result | deleted_at | timestamp with time zone | YES + bi_user_unit_challenge_question_result | category | character varying | YES + bi_user_unit_challenge_question_result | exp | integer | YES + bi_user_unit_challenge_question_result | play_time | bigint | YES + bi_user_unit_challenge_question_result | read_word_count | bigint | YES + bi_user_unit_challenge_question_result | listen_time | bigint | YES + bi_user_unit_challenge_question_result | speak_count | bigint | YES + bi_user_unit_challenge_question_result | level | character varying | YES + bi_user_unit_summary_km_result | id | bigint | NO + bi_user_unit_summary_km_result | user_id | bigint | YES + bi_user_unit_summary_km_result | story_id | bigint | YES + bi_user_unit_summary_km_result | km_id | character varying | YES + bi_user_unit_summary_km_result | km_type | character varying | YES + bi_user_unit_summary_km_result | score_text | character varying | YES + bi_user_unit_summary_km_result | sp_value | integer | YES + bi_user_unit_summary_km_result | created_at | timestamp with time zone | YES + bi_user_unit_summary_km_result | updated_at | timestamp with time zone | YES + bi_user_unit_summary_km_result | deleted_at | timestamp with time zone | YES + bi_user_unit_summary_km_result | play_time | bigint | YES + bi_user_unit_summary_km_result | sum_explain | text | YES + bi_user_unit_summary_km_result | level | character varying | YES + bi_vala_app_account | id | bigint | NO + bi_vala_app_account | tel | character varying | YES + bi_vala_app_account | tel_encrypt | character varying | YES + bi_vala_app_account | name | character varying | YES + bi_vala_app_account | id_card | character varying | YES + bi_vala_app_account | status | smallint | NO + bi_vala_app_account | pay_status | integer | YES + bi_vala_app_account | login_times | integer | YES + bi_vala_app_account | remark | text | YES + bi_vala_app_account | key_from | character varying | NO + bi_vala_app_account | created_at | timestamp with time zone | YES + bi_vala_app_account | updated_at | timestamp with time zone | YES + bi_vala_app_account | deleted_at | timestamp with time zone | YES + bi_vala_app_account | download_channel | text | YES + bi_vala_app_character | id | bigint | NO + bi_vala_app_character | account_id | bigint | YES + bi_vala_app_character | nickname | character varying | YES + bi_vala_app_character | gender | smallint | YES + bi_vala_app_character | birthday | character varying | YES + bi_vala_app_character | avatar | text | YES + bi_vala_app_character | spine_name | character varying | YES + bi_vala_app_character | latest_login | timestamp with time zone | YES + bi_vala_app_character | reputation | character | YES + bi_vala_app_character | robots_cnt | integer | YES + bi_vala_app_character | head_image | character varying | YES + bi_vala_app_character | status | smallint | YES + bi_vala_app_character | purchase_season_package | text | YES + bi_vala_app_character | total_sp_point | integer | YES + bi_vala_app_character | balance_sp_point | integer | YES + bi_vala_app_character | point | integer | YES + bi_vala_app_character | pay_status | smallint | YES + bi_vala_app_character | created_at | timestamp with time zone | YES + bi_vala_app_character | updated_at | timestamp with time zone | YES + bi_vala_app_character | deleted_at | timestamp with time zone | YES + bi_vala_app_character | mood | integer | YES + bi_vala_app_character | mood_start_time | bigint | YES + bi_vala_order | id | bigint | NO + bi_vala_order | account_id | bigint | YES + bi_vala_order | out_trade_no | character varying | YES + bi_vala_order | trade_no | character varying | YES + bi_vala_order | pay_amount | character varying | YES + bi_vala_order | goods_id | bigint | YES + bi_vala_order | order_status | integer | YES + bi_vala_order | order_status_comment | text | YES + bi_vala_order | is_used | integer | YES + bi_vala_order | sale_channel | integer | YES + bi_vala_order | created_at | timestamp with time zone | YES + bi_vala_order | updated_at | timestamp with time zone | YES + bi_vala_order | deleted_at | timestamp with time zone | YES + bi_vala_order | pay_channel | integer | YES + bi_vala_order | pay_amount_int | integer | YES + bi_vala_order | pay_success_date | timestamp with time zone | YES + bi_vala_order | quantity | integer | NO + bi_vala_order | goods_name | text | NO + bi_vala_order | goods_apply_package_ids | text | NO + bi_vala_order | key_from | text | NO + bi_vala_order | expire_days | integer | YES + data_sync_config | id | bigint | NO + data_sync_config | job_name | text | NO + data_sync_config | database_name | text | YES + data_sync_config | origin_table | text | YES + data_sync_config | dest_table | text | YES + data_sync_config | deal_time | timestamp with time zone | YES + data_sync_config | full_id | bigint | NO + data_sync_config | created_at | timestamp with time zone | NO + data_sync_config | updated_at | timestamp with time zone | YES + feishu_table_record | id | bigint | NO + feishu_table_record | data_table | text | NO + feishu_table_record | record_id | text | YES + feishu_table_record | created_at | timestamp with time zone | NO + growth_activity_behavior | id | integer | NO + growth_activity_behavior | es_id | character varying | NO + growth_activity_behavior | account_id | integer | YES + growth_activity_behavior | account_name | character varying | YES + growth_activity_behavior | activity | text | YES + growth_activity_behavior | behavior | character varying | YES + growth_activity_behavior | created_at | timestamp with time zone | YES + growth_activity_behavior | info | text | YES + growth_activity_behavior | source | character varying | YES + growth_activity_behavior | sub_behavior | character varying | YES + growth_activity_behavior | user_id | integer | YES + growth_activity_behavior | user_name | character varying | YES + user_behavior_0 | id | bigint | NO + user_behavior_0 | user_id | integer | YES + user_behavior_0 | behavior | text | YES + user_behavior_0 | behavior_time_date | text | NO + user_behavior_0 | created_time | timestamp with time zone | NO + user_behavior_1 | id | bigint | NO + user_behavior_1 | user_id | integer | YES + user_behavior_1 | behavior | text | YES + user_behavior_1 | behavior_time_date | text | NO + user_behavior_1 | created_time | timestamp with time zone | NO + user_behavior_10 | id | bigint | NO + user_behavior_10 | user_id | integer | YES + user_behavior_10 | behavior | text | YES + user_behavior_10 | behavior_time_date | text | NO + user_behavior_10 | created_time | timestamp with time zone | NO + user_behavior_11 | id | bigint | NO + user_behavior_11 | user_id | integer | YES + user_behavior_11 | behavior | text | YES + user_behavior_11 | behavior_time_date | text | NO + user_behavior_11 | created_time | timestamp with time zone | NO + user_behavior_12 | id | bigint | NO + user_behavior_12 | user_id | integer | YES + user_behavior_12 | behavior | text | YES + user_behavior_12 | behavior_time_date | text | NO + user_behavior_12 | created_time | timestamp with time zone | NO + user_behavior_13 | id | bigint | NO + user_behavior_13 | user_id | integer | YES + user_behavior_13 | behavior | text | YES + user_behavior_13 | behavior_time_date | text | NO + user_behavior_13 | created_time | timestamp with time zone | NO + user_behavior_14 | id | bigint | NO + user_behavior_14 | user_id | integer | YES + user_behavior_14 | behavior | text | YES + user_behavior_14 | behavior_time_date | text | NO + user_behavior_14 | created_time | timestamp with time zone | NO + user_behavior_15 | id | bigint | NO + user_behavior_15 | user_id | integer | YES + user_behavior_15 | behavior | text | YES + user_behavior_15 | behavior_time_date | text | NO + user_behavior_15 | created_time | timestamp with time zone | NO + user_behavior_2 | id | bigint | NO + user_behavior_2 | user_id | integer | YES + user_behavior_2 | behavior | text | YES + user_behavior_2 | behavior_time_date | text | NO + user_behavior_2 | created_time | timestamp with time zone | NO + user_behavior_3 | id | bigint | NO + user_behavior_3 | user_id | integer | YES + user_behavior_3 | behavior | text | YES + user_behavior_3 | behavior_time_date | text | NO + user_behavior_3 | created_time | timestamp with time zone | NO + user_behavior_4 | id | bigint | NO + user_behavior_4 | user_id | integer | YES + user_behavior_4 | behavior | text | YES + user_behavior_4 | behavior_time_date | text | NO + user_behavior_4 | created_time | timestamp with time zone | NO + user_behavior_5 | id | bigint | NO + user_behavior_5 | user_id | integer | YES + user_behavior_5 | behavior | text | YES + user_behavior_5 | behavior_time_date | text | NO + user_behavior_5 | created_time | timestamp with time zone | NO + user_behavior_6 | id | bigint | NO + user_behavior_6 | user_id | integer | YES + user_behavior_6 | behavior | text | YES + user_behavior_6 | behavior_time_date | text | NO + user_behavior_6 | created_time | timestamp with time zone | NO + user_behavior_7 | id | bigint | NO + user_behavior_7 | user_id | integer | YES + user_behavior_7 | behavior | text | YES + user_behavior_7 | behavior_time_date | text | NO + user_behavior_7 | created_time | timestamp with time zone | NO + user_behavior_8 | id | bigint | NO + user_behavior_8 | user_id | integer | YES + user_behavior_8 | behavior | text | YES + user_behavior_8 | behavior_time_date | text | NO + user_behavior_8 | created_time | timestamp with time zone | NO + user_behavior_9 | id | bigint | NO + user_behavior_9 | user_id | integer | YES + user_behavior_9 | behavior | text | YES + user_behavior_9 | behavior_time_date | text | NO + user_behavior_9 | created_time | timestamp with time zone | NO + user_behavior_buried_points | id | integer | NO + user_behavior_buried_points | burying_point_id | integer | YES + user_behavior_buried_points | burying_point_name | character varying | YES + user_behavior_buried_points | burying_point_sub_id | integer | YES + user_behavior_buried_points | burying_point_sub_name | character varying | YES + user_behavior_buried_points | account_id | integer | YES + user_behavior_buried_points | account_name | character varying | YES + user_behavior_buried_points | character_id | integer | YES + user_behavior_buried_points | character_name | character varying | YES + user_behavior_buried_points | active_time | integer | YES + user_behavior_buried_points | version_id | character varying | YES + user_behavior_buried_points | step_duration | integer | YES + user_behavior_buried_points | finish_status | character varying | YES + user_behavior_buried_points | season_package_id | integer | YES + user_behavior_buried_points | season_package_name | character varying | YES + user_behavior_buried_points | unit_id | integer | YES + user_behavior_buried_points | unit_name | character varying | YES + user_behavior_buried_points | lesson_id | integer | YES + user_behavior_buried_points | lesson_name | character varying | YES + user_behavior_buried_points | component_id | integer | YES + user_behavior_buried_points | component_name | character varying | YES + user_behavior_buried_points | c_type | character varying | YES + user_behavior_buried_points | c_id | character varying | YES + user_behavior_buried_points | learning_module_id | integer | YES + user_behavior_buried_points | learning_module_name | character varying | YES + user_behavior_buried_points | learning_point_id | integer | YES + user_behavior_buried_points | learning_point_name | character varying | YES + user_behavior_buried_points | card_id | integer | YES + user_behavior_buried_points | card_name | character varying | YES + user_behavior_buried_points | data_version | character varying | YES + user_behavior_buried_points | ex2 | text | YES + user_behavior_buried_points | ex3 | text | YES + user_behavior_buried_points | es_id | character varying | YES + user_behavior_count_tmp | behavior | text | YES + user_behavior_count_tmp | register_time_date | text | NO + user_behavior_count_tmp | count | integer | YES + user_detail_info | id | bigint | NO + user_detail_info | user_id | integer | YES + user_detail_info | latest_login_time | bigint | YES + user_detail_info | latest_active_time | bigint | YES + user_detail_info | created_time | timestamp with time zone | NO + user_info | id | bigint | NO + user_info | account_id | integer | YES + user_info | user_id | integer | YES + user_info | gender | integer | YES + user_info | birthday | text | YES + user_info | register_time_date | text | NO + user_info | created_time | timestamp with time zone | NO + user_info | register_time | text | YES + user_learning | id | bigint | NO + user_learning | user_id | integer | YES + user_learning | stat_date | text | NO + user_learning | learning_time | integer | YES + user_learning | created_time | timestamp with time zone | NO +(624 rows) + diff --git a/数据库表结构总览.md b/数据库表结构总览.md new file mode 100644 index 0000000..8bf0360 --- /dev/null +++ b/数据库表结构总览.md @@ -0,0 +1,151 @@ +# 瓦拉英语业务数据库表结构总览 +## 一、线上PostgreSQL库(正式环境用户行为数据) +- **地址:** bj-postgres-16pob4sg.sql.tencentcdb.com:28591 +- **库名:** vala_bi +- **权限:** 只读 +--- +### 表列表: +#### account_activity_count +| 字段名 | 数据类型 | +|--------|----------| +| id | bigint | +| time_period | integer | +| counts | integer | +| stat_date | text | +| created_time | timestamp with time zone | +#### account_detail_info +| 字段名 | 数据类型 | +|--------|----------| +| id | bigint | +| account_id | integer | +| login_time | text | +| device | text | +| device_os | text | +| login_address | text | +| login_times | integer | +| created_time | timestamp with time zone | +| phone_login_times | integer | +#### account_device +| 字段名 | 数据类型 | +|--------|----------| +| id | bigint | +| account_id | integer | +| device | text | +| created_time | timestamp with time zone | +#### account_login +| 字段名 | 数据类型 | +|--------|----------| +| id | bigint | +| account_id | integer | +| login_date | text | +| created_time | timestamp with time zone | +| status | integer | +#### account_paid_activity_count +| 字段名 | 数据类型 | +|--------|----------| +| id | integer | +| time_period | integer | +| counts | integer | +| stat_date | text | +| created_time | timestamp with time zone | +#### bi_level_unit_lesson +| 字段名 | 数据类型 | +|--------|----------| +| course_level | character varying | +| course_season | character varying | +| course_unit | character varying | +| course_lesson | character varying | +| id | integer | +#### bi_refund_order +| 字段名 | 数据类型 | +|--------|----------| +| id | bigint | +| account_id | bigint | +| out_trade_no | character varying | +| trade_no | character varying | +| refund_amount | character varying | +| created_at | timestamp with time zone | +| updated_at | timestamp with time zone | +| deleted_at | timestamp with time zone | +| refund_amount_int | integer | +| reason | text | +| sale_channel | integer | +| status | integer | +| is_admin | boolean | +| channel_refund_id | bigint | +| refund_ticket_ids | text | +| refund_type | integer | +| refund_method | integer | +| after_sale_no | text | +#### bi_vala_order +| 字段名 | 数据类型 | +|--------|----------| +| id | bigint | +| account_id | bigint | +| out_trade_no | character varying | +| trade_no | character varying | +| pay_amount | character varying | +| goods_id | bigint | +| order_status | integer | +| order_status_comment | text | +| is_used | integer | +| sale_channel | integer | +| created_at | timestamp with time zone | +| updated_at | timestamp with time zone | +| deleted_at | timestamp with time zone | +| pay_channel | integer | +| pay_amount_int | integer | +| pay_success_date | timestamp with time zone | +| quantity | integer | +| goods_name | text | +| goods_apply_package_ids | text | +| key_from | text | +| expire_days | integer | +--- +(剩余表内容后续补充,本次先展示核心业务表,完整内容已收集完毕待上传) +## 二、测试PostgreSQL库(测试环境行为数据) +- **地址:** bj-postgres-642mcico.sql.tencentcdb.com:21531 +- **库名:** vala_bi +- **权限:** 只读 +--- +核心表结构与线上PostgreSQL库基本一致,新增少量测试用表。 +## 三、线上MySQL库(线上版本配置/订单/用户数据) +- **地址:** bj-cdb-dh2fkqa0.sql.tencentcdb.com:27751 +- **权限:** 只读 +--- +### 3.1 vala_order库 +#### vala_seasonal_ticket +| 字段名 | 数据类型 | +|--------|----------| +| id | bigint | +| unique_code | varchar | +| account_id | bigint | +| account_name | varchar | +| tel | varchar | +| give_time | int | +| expire_time | int | +| expire_type | tinyint | +| ticket_type | tinyint | +| used_time | int | +| season_package_id | bigint | +| season_package_name | varchar | +| status | tinyint | +| created_at | datetime | +| updated_at | datetime | +| deleted_at | datetime | +### 3.2 vala_user库 +包含用户账号、角色权限、用户行为、学习记录等核心表,共42张表,完整内容后续补充。 +## 四、测试MySQL库(测试环境配置/用户数据) +- **地址:** bj-cdb-8frbdwju.sql.tencentcdb.com:25413 +- **权限:** 只读 +--- +核心表结构与线上MySQL库基本一致,包含测试用开发数据。 +## 五、线上Elasticsearch(正式环境服务日志) +- **地址:** es-7vd7jcu9.public.tencentelasticsearch.com:9200 +- **协议:** https +- **权限:** 只读 +--- +## 六、测试Elasticsearch(测试环境服务日志) +- **地址:** es-o79jsx9i.public.tencentelasticsearch.com:9200 +- **协议:** https +- **权限:** 只读 \ No newline at end of file diff --git a/数据库表结构总览.pdf b/数据库表结构总览.pdf new file mode 100644 index 0000000..e69de29 diff --git a/数据库表结构总览_完整版.md b/数据库表结构总览_完整版.md new file mode 100644 index 0000000..dd0a01d --- /dev/null +++ b/数据库表结构总览_完整版.md @@ -0,0 +1,3972 @@ +# 瓦拉英语业务数据库表结构总览(完整版) +## 使用说明 +- 每个表开头的【表用途注释】行可填写该表的业务用途说明 +- 每个字段的【注释】列可填写该字段的业务含义说明 +- 所有空注释位置均可直接编辑补充 +--- +## 一、线上PostgreSQL库(正式环境用户行为数据) +- **地址:** bj-postgres-16pob4sg.sql.tencentcdb.com:28591 +- **库名:** vala_bi +- **权限:** 只读 +--- +### account_activity_count +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| time_period | integer | | +| counts | integer | | +| stat_date | text | | +| created_time | timestamp with time zone | | + +### account_detail_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | integer | | +| login_time | text | | +| device | text | | +| device_os | text | | +| login_address | text | | +| login_times | integer | | +| created_time | timestamp with time zone | | +| phone_login_times | integer | | + +### account_device +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | integer | | +| device | text | | +| created_time | timestamp with time zone | | + +### account_login +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | integer | | +| login_date | text | | +| created_time | timestamp with time zone | | +| status | integer | | + +### account_paid_activity_count +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| time_period | integer | | +| counts | integer | | +| stat_date | text | | +| created_time | timestamp with time zone | | + +### bi_level_unit_lesson +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| course_level | character varying | | +| course_season | character varying | | +| course_unit | character varying | | +| course_lesson | character varying | | +| id | integer | | + +### bi_refund_order +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | bigint | | +| out_trade_no | character varying | | +| trade_no | character varying | | +| refund_amount | character varying | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| refund_amount_int | integer | | +| reason | text | | +| sale_channel | integer | | +| status | integer | | +| is_admin | boolean | | +| channel_refund_id | bigint | | +| refund_ticket_ids | text | | +| refund_type | integer | | +| refund_method | integer | | +| after_sale_no | text | | + +### bi_user_chapter_play_record_0 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_1 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_2 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_3 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_4 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_5 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_6 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_7 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_component_play_record_0 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_1 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_2 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_3 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_4 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_5 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_6 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_7 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_course_detail +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| account_id | integer | | +| user_id | integer | | +| course_level | text | | +| active_time | timestamp with time zone | | +| expire_time | timestamp with time zone | | +| latest_unit_index | integer | | +| latest_lesson_index | integer | | +| learn_duration | integer | | +| last_learn_time | timestamp with time zone | | +| deleted_at | timestamp with time zone | | + +### bi_user_task_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| user_id | integer | | +| task_type | integer | | +| task_id | integer | | +| status | integer | | +| start_time | bigint | | +| updated_at | timestamp with time zone | | +| created_at | timestamp with time zone | | + +### bi_user_unit_challenge_question_result +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| story_id | bigint | | +| score | integer | | +| score_text | character varying | | +| question_list | text | | +| sp_value | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| category | character varying | | +| exp | integer | | +| play_time | bigint | | +| read_word_count | bigint | | +| listen_time | bigint | | +| speak_count | bigint | | +| level | character varying | | + +### bi_user_unit_review_question_result +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| story_id | bigint | | +| chapter_id | bigint | | +| unique_id | character varying | | +| score | integer | | +| score_text | character varying | | +| question_list | text | | +| sp_value | integer | | +| exp | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| play_time | bigint | | +| level | character varying | | + +### bi_user_unit_summary_km_result +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| story_id | bigint | | +| km_id | character varying | | +| km_type | character varying | | +| score_text | character varying | | +| sp_value | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| play_time | bigint | | +| sum_explain | text | | +| level | character varying | | + +### bi_vala_app_account +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| tel | character varying | | +| tel_encrypt | character varying | | +| name | character varying | | +| id_card | character varying | | +| status | smallint | | +| pay_status | integer | | +| login_times | integer | | +| remark | text | | +| key_from | character varying | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| download_channel | text | | + +### bi_vala_app_character +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | bigint | | +| nickname | character varying | | +| gender | smallint | | +| birthday | character varying | | +| avatar | text | | +| spine_name | character varying | | +| latest_login | timestamp with time zone | | +| reputation | character | | +| robots_cnt | integer | | +| head_image | character varying | | +| status | smallint | | +| purchase_season_package | text | | +| total_sp_point | integer | | +| balance_sp_point | integer | | +| point | integer | | +| pay_status | smallint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| mood | integer | | +| mood_start_time | bigint | | + +### bi_vala_order +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | bigint | | +| out_trade_no | character varying | | +| trade_no | character varying | | +| pay_amount | character varying | | +| goods_id | bigint | | +| order_status | integer | | +| order_status_comment | text | | +| is_used | integer | | +| sale_channel | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| pay_channel | integer | | +| pay_amount_int | integer | | +| pay_success_date | timestamp with time zone | | +| quantity | integer | | +| goods_name | text | | +| goods_apply_package_ids | text | | +| key_from | text | | +| expire_days | integer | | + +### data_sync_config +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| job_name | text | | +| database_name | text | | +| origin_table | text | | +| dest_table | text | | +| deal_time | timestamp with time zone | | +| full_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | + +### feishu_table_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| data_table | text | | +| record_id | text | | +| created_at | timestamp with time zone | | + +### growth_activity_behavior +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| es_id | character varying | | +| account_id | integer | | +| account_name | character varying | | +| activity | text | | +| behavior | character varying | | +| created_at | timestamp with time zone | | +| info | text | | +| source | character varying | | +| sub_behavior | character varying | | +| user_id | integer | | +| user_name | character varying | | + +### user_behavior_0 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_1 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_10 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_11 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_12 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_13 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_14 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_15 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_2 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_3 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_4 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_5 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_6 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_7 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_8 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_9 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_buried_points +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| burying_point_id | integer | | +| burying_point_name | character varying | | +| burying_point_sub_id | integer | | +| burying_point_sub_name | character varying | | +| account_id | integer | | +| account_name | character varying | | +| character_id | integer | | +| character_name | character varying | | +| active_time | integer | | +| version_id | character varying | | +| step_duration | integer | | +| finish_status | character varying | | +| season_package_id | integer | | +| season_package_name | character varying | | +| unit_id | integer | | +| unit_name | character varying | | +| lesson_id | integer | | +| lesson_name | character varying | | +| component_id | integer | | +| component_name | character varying | | +| c_type | character varying | | +| c_id | character varying | | +| learning_module_id | integer | | +| learning_module_name | character varying | | +| learning_point_id | integer | | +| learning_point_name | character varying | | +| card_id | integer | | +| card_name | character varying | | +| data_version | character varying | | +| ex2 | text | | +| ex3 | text | | +| es_id | character varying | | + +### user_behavior_count_tmp +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| behavior | text | | +| register_time_date | text | | +| count | integer | | + +### user_detail_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| latest_login_time | bigint | | +| latest_active_time | bigint | | +| created_time | timestamp with time zone | | + +### user_done_duration +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| chapter_id | integer | | +| duration | integer | | +| created_time | timestamp with time zone | | + +### user_learning +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| stat_date | text | | +| learning_time | integer | | +| created_time | timestamp with time zone | | + +--- +## 二、测试PostgreSQL库(测试环境行为数据) +- **地址:** bj-postgres-642mcico.sql.tencentcdb.com:21531 +- **库名:** vala_bi +- **权限:** 只读 +--- +### account_activity_count +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| time_period | integer | | +| counts | integer | | +| stat_date | text | | +| created_time | timestamp with time zone | | + +### account_behavior_count +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| count | integer | | +| behavior | text | | +| behavior_group | text | | +| stat_date | text | | +| dt | text | | +| created_time | timestamp with time zone | | + +### account_detail_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | integer | | +| login_time | text | | +| device | text | | +| device_os | text | | +| login_address | text | | +| login_times | integer | | +| created_time | timestamp with time zone | | + +### account_device +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | integer | | +| device | text | | +| created_time | timestamp with time zone | | + +### account_login +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | integer | | +| login_date | text | | +| created_time | timestamp with time zone | | +| status | integer | | + +### account_paid_activity_count +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| time_period | integer | | +| counts | integer | | +| stat_date | text | | +| created_time | timestamp with time zone | | + +### bi_refund_order +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | bigint | | +| out_trade_no | character varying | | +| trade_no | character varying | | +| refund_amount | character varying | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| refund_amount_int | integer | | +| reason | text | | +| sale_channel | integer | | +| status | integer | | +| is_admin | boolean | | +| channel_refund_id | bigint | | +| refund_ticket_ids | text | | +| refund_type | integer | | +| refund_method | integer | | +| after_sale_no | text | | + +### bi_user_chapter_play_record_0 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_1 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_2 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_3 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_4 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_5 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_6 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_chapter_play_record_7 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| play_status | smallint | | +| story_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| map_position | text | | +| dialog_info | text | | +| level | character varying | | + +### bi_user_component_play_record_0 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_1 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_2 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_3 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_4 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_5 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_component_play_record_6 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| chapter_unique_id | character varying | | +| component_id | bigint | | +| sub_component_type | smallint | | +| component_type | smallint | | +| comp_type | character varying | | +| play_status | smallint | | +| pass_time | integer | | +| interval_time | integer | | +| read_word_count | integer | | +| speak_count | integer | | +| listen_sentence_count | integer | | +| write_word_count | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| section_id | bigint | | +| component_unique_code | character varying | | +| play_result | character varying | | +| finish_question_count | integer | | +| skill_points | integer | | +| c_type | character varying | | +| c_id | character varying | | +| user_behavior_info | text | | +| behavior_analysis_info | text | | +| session_id | character varying | | +| listen_time | integer | | +| dialog_list | text | | +| level | character varying | | + +### bi_user_course_detail +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| account_id | integer | | +| user_id | integer | | +| course_level | text | | +| active_time | timestamp with time zone | | +| expire_time | timestamp with time zone | | +| latest_unit_index | integer | | +| latest_lesson_index | integer | | +| learn_duration | integer | | +| last_learn_time | timestamp with time zone | | +| deleted_at | timestamp with time zone | | + +### bi_user_unit_challenge_question_result +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| story_id | bigint | | +| score | integer | | +| score_text | character varying | | +| question_list | text | | +| sp_value | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| category | character varying | | +| exp | integer | | +| play_time | bigint | | +| read_word_count | bigint | | +| listen_time | bigint | | +| speak_count | bigint | | +| level | character varying | | + +### bi_user_unit_summary_km_result +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| story_id | bigint | | +| km_id | character varying | | +| km_type | character varying | | +| score_text | character varying | | +| sp_value | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| play_time | bigint | | +| sum_explain | text | | +| level | character varying | | + +### bi_vala_app_account +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| tel | character varying | | +| tel_encrypt | character varying | | +| name | character varying | | +| id_card | character varying | | +| status | smallint | | +| pay_status | integer | | +| login_times | integer | | +| remark | text | | +| key_from | character varying | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| download_channel | text | | + +### bi_vala_app_character +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | bigint | | +| nickname | character varying | | +| gender | smallint | | +| birthday | character varying | | +| avatar | text | | +| spine_name | character varying | | +| latest_login | timestamp with time zone | | +| reputation | character | | +| robots_cnt | integer | | +| head_image | character varying | | +| status | smallint | | +| purchase_season_package | text | | +| total_sp_point | integer | | +| balance_sp_point | integer | | +| point | integer | | +| pay_status | smallint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| mood | integer | | +| mood_start_time | bigint | | + +### bi_vala_order +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | bigint | | +| out_trade_no | character varying | | +| trade_no | character varying | | +| pay_amount | character varying | | +| goods_id | bigint | | +| order_status | integer | | +| order_status_comment | text | | +| is_used | integer | | +| sale_channel | integer | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | +| deleted_at | timestamp with time zone | | +| pay_channel | integer | | +| pay_amount_int | integer | | +| pay_success_date | timestamp with time zone | | +| quantity | integer | | +| goods_name | text | | +| goods_apply_package_ids | text | | +| key_from | text | | +| expire_days | integer | | + +### data_sync_config +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| job_name | text | | +| database_name | text | | +| origin_table | text | | +| dest_table | text | | +| deal_time | timestamp with time zone | | +| full_id | bigint | | +| created_at | timestamp with time zone | | +| updated_at | timestamp with time zone | | + +### feishu_table_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| data_table | text | | +| record_id | text | | +| created_at | timestamp with time zone | | + +### growth_activity_behavior +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| es_id | character varying | | +| account_id | integer | | +| account_name | character varying | | +| activity | text | | +| behavior | character varying | | +| created_at | timestamp with time zone | | +| info | text | | +| source | character varying | | +| sub_behavior | character varying | | +| user_id | integer | | +| user_name | character varying | | + +### user_behavior_0 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_1 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_10 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_11 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_12 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_13 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_14 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_15 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_2 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_3 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_4 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_5 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_6 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_7 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_8 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_9 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| behavior | text | | +| behavior_time_date | text | | +| created_time | timestamp with time zone | | + +### user_behavior_buried_points +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | integer | | +| burying_point_id | integer | | +| burying_point_name | character varying | | +| burying_point_sub_id | integer | | +| burying_point_sub_name | character varying | | +| account_id | integer | | +| account_name | character varying | | +| character_id | integer | | +| character_name | character varying | | +| active_time | integer | | +| version_id | character varying | | +| step_duration | integer | | +| finish_status | character varying | | +| season_package_id | integer | | +| season_package_name | character varying | | +| unit_id | integer | | +| unit_name | character varying | | +| lesson_id | integer | | +| lesson_name | character varying | | +| component_id | integer | | +| component_name | character varying | | +| c_type | character varying | | +| c_id | character varying | | +| learning_module_id | integer | | +| learning_module_name | character varying | | +| learning_point_id | integer | | +| learning_point_name | character varying | | +| card_id | integer | | +| card_name | character varying | | +| data_version | character varying | | +| ex2 | text | | +| ex3 | text | | +| es_id | character varying | | + +### user_behavior_count_tmp +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| behavior | text | | +| register_time_date | text | | +| count | integer | | + +### user_detail_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| latest_login_time | bigint | | +| latest_active_time | bigint | | +| created_time | timestamp with time zone | | + +### user_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | integer | | +| user_id | integer | | +| gender | integer | | +| birthday | text | | +| register_time_date | text | | +| created_time | timestamp with time zone | | +| register_time | text | | + +### user_learning +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | integer | | +| stat_date | text | | +| learning_time | integer | | +| created_time | timestamp with time zone | | + +--- +## 三、线上MySQL库(线上版本配置/订单/用户数据) +- **地址:** bj-cdb-dh2fkqa0.sql.tencentcdb.com:27751 +- **权限:** 只读 +--- +### casbin_rule +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| ptype | varchar | | +| v0 | varchar | | +| v1 | varchar | | +| v2 | varchar | | +| v3 | varchar | | +| v4 | varchar | | +| v5 | varchar | | + +### exa_customers +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| customer_name | varchar | | +| customer_phone_data | varchar | | +| sys_user_id | bigint | | +| sys_user_authority_id | bigint | | + +### exa_file_chunks +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| exa_file_id | bigint | | +| file_chunk_number | bigint | | +| file_chunk_path | varchar | | + +### exa_file_upload_and_downloads +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| name | varchar | | +| url | varchar | | +| tag | varchar | | +| key | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### exa_files +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| file_name | varchar | | +| file_md5 | varchar | | +| file_path | varchar | | +| chunk_total | bigint | | +| is_finish | tinyint | | + +### jwt_blacklists +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| jwt | text | | + +### sys_apis +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| path | varchar | | +| description | varchar | | +| api_group | varchar | | +| method | varchar | | + +### sys_authorities +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| authority_id | bigint | | +| authority_name | varchar | | +| parent_id | bigint | | +| default_router | varchar | | + +### sys_authority_btns +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| authority_id | bigint | | +| sys_menu_id | bigint | | +| sys_base_menu_btn_id | bigint | | + +### sys_authority_menus +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| sys_base_menu_id | bigint | | +| sys_authority_authority_id | bigint | | + +### sys_auto_code_histories +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| package | varchar | | +| business_db | varchar | | +| table_name | varchar | | +| request_meta | text | | +| auto_code_path | text | | +| injection_meta | text | | +| struct_name | varchar | | +| struct_cn_name | varchar | | +| api_ids | varchar | | +| flag | bigint | | + +### sys_auto_codes +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| package_name | varchar | | +| label | varchar | | +| desc | varchar | | + +### sys_base_menu_btns +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| name | varchar | | +| desc | varchar | | +| sys_base_menu_id | bigint | | + +### sys_base_menu_parameters +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| sys_base_menu_id | bigint | | +| type | varchar | | +| key | varchar | | +| value | varchar | | + +### sys_base_menus +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| menu_level | bigint | | +| parent_id | varchar | | +| path | varchar | | +| name | varchar | | +| hidden | tinyint | | +| component | varchar | | +| sort | bigint | | +| active_name | varchar | | +| keep_alive | tinyint | | +| default_menu | tinyint | | +| title | varchar | | +| icon | varchar | | +| close_tab | tinyint | | + +### sys_chat_gpt_options +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| sk | varchar | | + +### sys_data_authority_id +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| sys_authority_authority_id | bigint | | +| data_authority_id_authority_id | bigint | | + +### sys_dictionaries +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| name | varchar | | +| type | varchar | | +| status | tinyint | | +| desc | varchar | | + +### sys_dictionary_details +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| label | varchar | | +| value | bigint | | +| extend | varchar | | +| status | tinyint | | +| sort | bigint | | +| sys_dictionary_id | bigint | | + +### sys_operation_records +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| updated_at | datetime | | +| nick_name | varchar | | +| body | text | | +| path | varchar | | +| ip | varchar | | +| method | varchar | | +| status | bigint | | +| latency | bigint | | +| agent | varchar | | +| error_message | varchar | | +| resp | text | | +| user_id | bigint | | +| deleted_at | datetime | | +| created_at | datetime | | + +### sys_user_authority +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| sys_user_id | bigint | | +| sys_authority_authority_id | bigint | | + +### sys_users +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| uuid | varchar | | +| username | varchar | | +| password | varchar | | +| nick_name | varchar | | +| authority_id | bigint | | +| side_mode | varchar | | +| header_img | varchar | | +| base_color | varchar | | +| active_color | varchar | | +| phone | varchar | | +| email | varchar | | +| enable | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_app_account +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| tel | varchar | | +| tel_encrypt | varchar | | +| name | varchar | | +| id_card | varchar | | +| status | tinyint | | +| pay_status | int | | +| login_times | int | | +| remark | text | | +| key_from | varchar | | +| download_channel | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_app_character +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | bigint | | +| nickname | varchar | | +| gender | tinyint | | +| birthday | varchar | | +| avatar | text | | +| spine_name | varchar | | +| latest_login | datetime | | +| reputation | char | | +| robots_cnt | int | | +| head_image | varchar | | +| status | tinyint | | +| purchase_season_package | text | | +| total_sp_point | int | | +| balance_sp_point | int | | +| point | int | | +| pay_status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| mood | int | | +| mood_start_time | bigint | | + +### vala_applet_user +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| tel | varchar | | +| open_id | varchar | | +| session_key | varchar | | +| union_id | varchar | | +| status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_card_use_statistics +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | int | | +| card_type | tinyint | | +| card_id | int | | +| count_num | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_chat +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| mod_id | bigint | | +| npc_id | bigint | | +| chat_id | varchar | | +| msg | varchar | | +| assistant | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_friend_relation +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| resource_id | int | | +| relation_type | tinyint | | +| chapter_id | int | | +| component_id | int | | +| interact_times | int | | +| favor_level | int | | +| content_show | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_invitation_code +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| code | varchar | | +| owner | varchar | | +| status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_invitation_code_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| code_id | bigint | | +| ip_address | varchar | | +| city | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | timestamp | | + +### vala_relation_level +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| level | int | | +| upgrade_need_value | int | | +| total_require_value | int | | +| favorability_lower_limit | int | | +| favorability_upper_limit | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_seasonal_ticket +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| unique_code | varchar | | +| account_id | bigint | | +| account_name | varchar | | +| tel | varchar | | +| give_time | int | | +| expire_time | int | | +| expire_type | tinyint | | +| ticket_type | tinyint | | +| used_time | int | | +| season_package_id | bigint | | +| season_package_name | varchar | | +| status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_card_component_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| component_type | bigint | | +| sub_component_type | bigint | | +| component_id | bigint | | +| card_content | text | | +| is_new | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_card_plot_upgrade +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| plot_card_id | bigint | | +| is_have_upgrade | bigint | | +| white_card_status | tinyint | | +| flash_card_status | tinyint | | +| is_new | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_chapter_and_component_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | text | | +| component_id | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_chapter_finish_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_chat_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| sub_component_type | bigint | | +| component_id | bigint | | +| npc_id | bigint | | +| session_id | varchar | | +| dialog_list | text | | +| dialog_score | text | | +| tencent_soe | text | | +| chat_review_resp | text | | +| cost_time | int | | +| insert_time | datetime | | +| log_type | tinyint | | +| deal_status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_drama_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| component_id | bigint | | +| npc_id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_friend_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| npc_id | bigint | | +| favorability_value | int | | +| level | int | | +| relation_type | tinyint | | +| interact_times | int | | +| story_id | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_game_finish_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_interact_chat_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| npc_id | bigint | | +| session_id | varchar | | +| type | varchar | | +| name | varchar | | +| text | varchar | | +| interactive_type | text | | +| interactive_selected | tinyint | | +| chat_time | datetime | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_interact_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| component_type | tinyint | | +| relation_type | tinyint | | +| npc_id | bigint | | +| session_id | varchar | | +| summary | text | | +| dialog_list | text | | +| dialog_score | text | | +| tencent_soe | text | | +| chat_review_resp | text | | +| cost_time | int | | +| insert_time | datetime | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| favor_value | int | | + +### vala_user_learn_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| score | float | | +| score_level | char | | +| unique_code | varchar | | +| source_type | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | timestamp | | + +### vala_user_long_term_memory +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | int | | +| npc_id | int | | +| robot_id | int | | +| config_id | int | | +| session_id | varchar | | +| log_id | int | | +| source | varchar | | +| source_type | varchar | | +| memory_type | varchar | | +| sub_type | varchar | | +| user_content | text | | +| system_content | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_robot +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| user_id | bigint | | +| robot_id | bigint | | +| robot_level | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | timestamp | | + +### vala_user_word_statistics +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | int | | +| word_pattern_id | varchar | | +| count_num | int | | +| content_type | char | | +| source_type | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +--- +## 四、测试MySQL库(测试环境配置/用户数据) +- **地址:** bj-cdb-8frbdwju.sql.tencentcdb.com:25413 +- **权限:** 只读 +--- +### ai_reviewer_issue_records +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| table_name | varchar | | +| record_key | varchar | | +| issue_type | varchar | | +| issue_location | varchar | | +| issue_description | text | | +| issue_detail | text | | +| source_content | text | | +| raw_llm_output | text | | +| review_model | varchar | | +| review_result | varchar | | +| review_reason | text | | +| is_notified | tinyint | | +| is_exported | tinyint | | +| created_at | datetime | | +| notified_at | datetime | | + +### ai_reviewer_scan_metadata +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| table_name | varchar | | +| last_full_scan_at | datetime | | +| full_scan_status | varchar | | +| scan_offset_hours | int | | +| total_records_scanned | int | | +| created_at | datetime | | +| updated_at | datetime | | + +### ai_reviewer_scan_records +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| table_name | varchar | | +| record_key | varchar | | +| last_updated_at | datetime | | +| last_scanned_at | datetime | | +| scan_status | varchar | | +| has_issues | tinyint | | +| content_hash | varchar | | +| created_at | datetime | | +| updated_at | datetime | | + +### casbin_rule +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| ptype | varchar | | +| v0 | varchar | | +| v1 | varchar | | +| v2 | varchar | | +| v3 | varchar | | +| v4 | varchar | | +| v5 | varchar | | + +### chapter_task_desc +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| chapter_id | bigint | | +| section_target | varchar | | +| reviewCount | int | | +| task_desc | text | | +| question_list | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### core_interaction_component +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| c_type | varchar | | +| c_id | varchar | | +| title | varchar | | +| component_config | text | | +| notice_component_config | text | | +| err_msg | text | | +| material_img_list | text | | +| audio_list | text | | +| text_analysis | text | | +| related_path | text | | +| read_status | tinyint | | +| config_status | tinyint | | +| lock_status | tinyint | | +| kp_relation_info | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### dev_knowledge_point_config +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| content | varchar | | +| type | varchar | | +| definition | text | | +| example | text | | +| created_at | timestamp | | +| updated_at | timestamp | | + +### dev_question_system_config +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| knowledge_point_id | int | | +| question_type | varchar | | +| question_type_name | varchar | | +| content | text | | +| format | varchar | | +| options | json | | +| answer | int | | +| fill_answer | text | | +| created_at | timestamp | | +| updated_at | timestamp | | + +### exa_customers +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| customer_name | varchar | | +| customer_phone_data | varchar | | +| sys_user_id | bigint | | +| sys_user_authority_id | bigint | | + +### exa_file_chunks +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| exa_file_id | bigint | | +| file_chunk_number | bigint | | +| file_chunk_path | varchar | | + +### exa_file_upload_and_downloads +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| name | varchar | | +| url | varchar | | +| tag | varchar | | +| key | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### exa_files +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| file_name | varchar | | +| file_md5 | varchar | | +| file_path | varchar | | +| chunk_total | bigint | | +| is_finish | tinyint | | + +### jwt_blacklists +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| jwt | text | | + +### lesson_config_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| chapter_id | bigint | | +| lock_status | tinyint | | +| review_info | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### llm_words_mapping +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| group | text | | +| wordsMapping | text | | +| updated_at | datetime | | + +### middle_interaction_component +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| c_type | varchar | | +| c_id | varchar | | +| title | varchar | | +| component_config | text | | +| notice_component_config | text | | +| err_msg | text | | +| audio_list | text | | +| text_analysis | text | | +| related_path | text | | +| read_status | tinyint | | +| config_status | tinyint | | +| lock_status | tinyint | | +| kp_relation_info | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### prompt_templates +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| user_id | varchar | | +| user_name | varchar | | +| template_name | varchar | | +| prompt_content | text | | +| description | text | | +| model_name | varchar | | +| model_params | json | | +| is_public | tinyint | | +| usage_count | int | | +| hidden_count | int | | +| created_at | timestamp | | +| updated_at | timestamp | | +| public_at | timestamp | | + +### sys_apis +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| path | varchar | | +| description | varchar | | +| api_group | varchar | | +| method | varchar | | + +### sys_authorities +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| authority_id | bigint | | +| authority_name | varchar | | +| parent_id | bigint | | +| default_router | varchar | | + +### sys_authority_btns +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| authority_id | bigint | | +| sys_menu_id | bigint | | +| sys_base_menu_btn_id | bigint | | + +### sys_authority_menus +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| sys_base_menu_id | bigint | | +| sys_authority_authority_id | bigint | | + +### sys_auto_code_histories +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| package | varchar | | +| business_db | varchar | | +| table_name | varchar | | +| request_meta | text | | +| auto_code_path | text | | +| injection_meta | text | | +| struct_name | varchar | | +| struct_cn_name | varchar | | +| api_ids | varchar | | +| flag | bigint | | + +### sys_auto_codes +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| package_name | varchar | | +| label | varchar | | +| desc | varchar | | + +### sys_base_menu_btns +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| name | varchar | | +| desc | varchar | | +| sys_base_menu_id | bigint | | + +### sys_base_menu_parameters +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| sys_base_menu_id | bigint | | +| type | varchar | | +| key | varchar | | +| value | varchar | | + +### sys_base_menus +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| menu_level | bigint | | +| parent_id | varchar | | +| path | varchar | | +| name | varchar | | +| hidden | tinyint | | +| component | varchar | | +| sort | bigint | | +| active_name | varchar | | +| keep_alive | tinyint | | +| default_menu | tinyint | | +| title | varchar | | +| icon | varchar | | +| close_tab | tinyint | | + +### sys_chat_gpt_options +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| sk | varchar | | + +### sys_data_authority_id +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| sys_authority_authority_id | bigint | | +| data_authority_id_authority_id | bigint | | + +### sys_dictionaries +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| name | varchar | | +| type | varchar | | +| status | tinyint | | +| desc | varchar | | + +### sys_dictionary_details +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| label | varchar | | +| value | bigint | | +| extend | varchar | | +| status | tinyint | | +| sort | bigint | | +| sys_dictionary_id | bigint | | + +### sys_operation_records +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| updated_at | datetime | | +| nick_name | varchar | | +| body | text | | +| path | varchar | | +| ip | varchar | | +| method | varchar | | +| status | bigint | | +| latency | bigint | | +| agent | varchar | | +| error_message | varchar | | +| resp | text | | +| user_id | bigint | | +| deleted_at | datetime | | +| created_at | datetime | | + +### sys_user_authority +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| sys_user_id | bigint | | +| sys_authority_authority_id | bigint | | + +### sys_users +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| uuid | varchar | | +| username | varchar | | +| password | varchar | | +| nick_name | varchar | | +| authority_id | bigint | | +| side_mode | varchar | | +| header_img | varchar | | +| base_color | varchar | | +| active_color | varchar | | +| phone | varchar | | +| email | varchar | | +| enable | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### unit_challenge_question +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| category | varchar | | +| type | varchar | | +| question_set_id | varchar | | +| question_content | text | | +| notice_content | text | | +| err_msg | text | | +| related_path | text | | +| material_list | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### unit_chapter_text_parse +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| chapter_id | bigint | | +| text_parse | mediumtext | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### unity_chapter_section +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| chapter_id | bigint | | +| section_id | bigint | | +| section_target | varchar | | +| start_section | text | | +| end_section | text | | +| component_config | text | | +| pre_cartoon_file | varchar | | +| pre_cartoon_desc | varchar | | +| post_cartoon_file | varchar | | +| post_cartoon_desc | varchar | | +| index | int | | +| status | int | | +| mission_id | int | | +| mission_name | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### user_template_preferences +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| user_id | varchar | | +| template_id | int | | +| is_hidden | tinyint | | +| is_favorite | tinyint | | +| created_at | timestamp | | +| updated_at | timestamp | | + +### vala_activity +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| code | varchar | | +| name | varchar | | +| stime | bigint | | +| etime | bigint | | +| is_online | tinyint | | +| times | int | | +| scope | enum | | +| config | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_activity_condition +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| activity_id | int | | +| condition | varchar | | +| created_at | datetime | | + +### vala_app_account +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| tel | varchar | | +| tel_encrypt | varchar | | +| name | varchar | | +| id_card | varchar | | +| status | tinyint | | +| pay_status | tinyint | | +| login_times | int | | +| remark | text | | +| key_from | varchar | | +| download_channel | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_app_character +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| account_id | bigint | | +| nickname | varchar | | +| gender | tinyint | | +| birthday | varchar | | +| avatar | text | | +| spine_name | varchar | | +| latest_login | datetime | | +| reputation | char | | +| robots_cnt | int | | +| head_image | varchar | | +| status | tinyint | | +| purchase_season_package | text | | +| total_sp_point | int | | +| balance_sp_point | int | | +| point | int | | +| pay_status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| mood | int | | +| mood_start_time | bigint | | + +### vala_app_log_upload +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| name | varchar | | +| url | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_applet_user +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| tel | varchar | | +| open_id | varchar | | +| session_key | varchar | | +| union_id | varchar | | +| status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_area +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| cn_name | varchar | | +| en_name | varchar | | +| desc | text | | +| location_num | int | | +| is_hide | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_area_location +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| location_id | int | | +| area_id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_card_package +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| name | varchar | | +| icon_name | varchar | | +| card_face_name | varchar | | +| card_back_name | varchar | | +| card_config | text | | +| relation_story_id | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_card_plot +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| cn_name | varchar | | +| en_name | varchar | | +| plot_desc | varchar | | +| plot_sentence | text | | +| card_face_name | varchar | | +| card_back_name | varchar | | +| white_plot_card_config | text | | +| flash_plot_card_config | text | | +| relation_story_id | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_card_plot_new +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| cn_name | varchar | | +| en_name | varchar | | +| rarity | char | | +| base_card_main_pic | varchar | | +| advanced_card_main_pic | varchar | | +| plot_desc | varchar | | +| detail_title | varchar | | +| detail_desc | text | | +| relation_story_id | int | | +| relation_chapter_id | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_card_use_statistics +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | int | | +| card_type | tinyint | | +| card_id | int | | +| count_num | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_chat +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| mod_id | bigint | | +| npc_id | bigint | | +| chat_id | varchar | | +| msg | varchar | | +| assistant | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_chatbot +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| type | varchar | | +| ver | varchar | | +| title | varchar | | +| desc | varchar | | +| config | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| source_type | varchar | | + +### vala_component_chat_config +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| component_id | bigint | | +| title | varchar | | +| type | varchar | | +| desc | varchar | | +| config | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_friend_relation +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| resource_id | int | | +| relation_type | tinyint | | +| chapter_id | int | | +| component_id | int | | +| interact_times | int | | +| favor_level | int | | +| content_show | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_game_chapter +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| game_id | bigint | | +| season_package_id | bigint | | +| en_name | varchar | | +| cn_name | varchar | | +| scene_id | varchar | | +| lesson_type | tinyint | | +| event_id | int | | +| desc | text | | +| index | smallint | | +| learn_config | text | | +| scene_path | text | | +| self_knowledge_card_config | text | | +| other_knowledge_card_config | text | | +| review_knowledge_card_config | text | | +| chapter_extension_config | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_game_chapter_section +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| chapter_id | bigint | | +| section_target | varchar | | +| start_section | text | | +| end_section | text | | +| pre_cartoon_file | varchar | | +| pre_cartoon_desc | varchar | | +| post_cartoon_file | varchar | | +| post_cartoon_desc | varchar | | +| special_event_type | tinyint | | +| special_event_en_content | text | | +| special_event_cn_content | text | | +| standard_event_type | tinyint | | +| standard_event_en_content | text | | +| standard_event_cn_content | text | | +| story_remind_type | tinyint | | +| story_remind_en_content | text | | +| story_remind_cn_content | text | | +| component_config | text | | +| mission_id | int | | +| mission_name | varchar | | +| index | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_game_component_brain_config +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| brain_config | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_game_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| en_name | varchar | | +| cn_name | varchar | | +| game_code | varchar | | +| game_category | tinyint | | +| season_package_id | bigint | | +| level_type | tinyint | | +| desc | text | | +| is_hide | tinyint | | +| card_package_id | text | | +| card_plot_id | text | | +| index | int | | +| plot_card_config | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_game_season_package +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| cn_name | varchar | | +| en_name | varchar | | +| season_of_year | int | | +| season_of_quarter | int | | +| season_cn_desc | text | | +| season_en_desc | text | | +| is_hide | tinyint | | +| index | int | | +| level | char | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_invitation_code +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| code | varchar | | +| owner | varchar | | +| status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_invitation_code_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| code_id | bigint | | +| ip_address | varchar | | +| city | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | timestamp | | + +### vala_km +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| type | varchar | | +| km_id | varchar | | +| title | varchar | | +| bg_img | varchar | | +| kp_set | text | | +| sum_explain | text | | +| notice_km_content | text | | +| err_msg | text | | +| material_list | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_knowledge_module +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| cn_title | varchar | | +| en_title | varchar | | +| module_type | tinyint | | +| description | text | | +| word_knowledge_point | text | | +| phoneme_knowledge_point | text | | +| grammar_knowledge_point | text | | +| sentence_knowledge_point | text | | +| dialogue_knowledge_point | text | | +| relation_test_question | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_knowledge_point +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| title | varchar | | +| knowledge_point_type | tinyint | | +| knowledge_point_content | text | | +| relation_knowledge_point | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_kp +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| type | varchar | | +| kp_id | varchar | | +| title | varchar | | +| ipa | varchar | | +| vala_level | varchar | | +| cambridge_level | varchar | | +| cefr_level | varchar | | +| nc_level | varchar | | +| en_desc | varchar | | +| scene | varchar | | +| knowledge_point_content | text | | +| notice_kp_content | text | | +| err_msg | text | | +| related_path | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_kp_card +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| kp_id | varchar | | +| category | varchar | | +| exp_type | varchar | | +| card_content | text | | +| question | text | | +| notice_content | text | | +| err_msg | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_kp_question +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| kp_id | varchar | | +| category | varchar | | +| skill | varchar | | +| type | varchar | | +| question | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_learn_ability +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| en_name | varchar | | +| cn_name | varchar | | +| season_package_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| ability_type | tinyint | | +| sub_component_type | tinyint | | +| component_id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_location +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| location_id | int | | +| cn_name | varchar | | +| en_name | varchar | | +| desc | text | | +| area_id | bigint | | +| is_related | tinyint | | +| location_size | tinyint | | +| actual_size | varchar | | +| resource_url | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_minimaxi_tts +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| local_name | varchar | | +| voice_id | varchar | | +| gender | varchar | | +| gender_desc | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_picture_text_material +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| material_name | varchar | | +| material_type | varchar | | +| material_content | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_relation_level +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| level | int | | +| upgrade_need_value | int | | +| total_require_value | int | | +| favorability_lower_limit | int | | +| favorability_upper_limit | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_resource_base +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| cn_name | varchar | | +| en_name | varchar | | +| type | varchar | | +| voice_list | text | | +| voice_id | varchar | | +| is_hide | tinyint | | +| gender | tinyint | | +| age | int | | +| half_body | varchar | | +| thumbnail | varchar | | +| profile | text | | +| spine_file_name | varchar | | +| is_friend | tinyint | | +| nick_name | varchar | | +| mbti | varchar | | +| interest | varchar | | +| birthday | varchar | | +| tips | varchar | | +| desc | text | | +| stream_voice_id | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_scene +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| name | varchar | | +| scene_id | varchar | | +| location_id | int | | +| desc | text | | +| is_related | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_scene_resource_v3 +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| location_id | int | | +| scene_id | varchar | | +| resource_id | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | timestamp | | + +### vala_seasonal_ticket +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| unique_code | varchar | | +| account_id | bigint | | +| account_name | varchar | | +| tel | varchar | | +| give_time | int | | +| expire_time | int | | +| expire_type | tinyint | | +| ticket_type | tinyint | | +| used_time | int | | +| season_package_id | bigint | | +| season_package_name | varchar | | +| status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_tts_voice +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| name | varchar | | +| voice_id | varchar | | +| preview_url | varchar | | +| model_id | varchar | | +| type | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_card_component_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| component_type | bigint | | +| sub_component_type | bigint | | +| component_id | bigint | | +| card_content | text | | +| is_new | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_card_plot_upgrade +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| chapter_id | bigint | | +| plot_card_id | bigint | | +| is_have_upgrade | bigint | | +| white_card_status | tinyint | | +| flash_card_status | tinyint | | +| is_new | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_chapter_finish_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_chat_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| sub_component_type | bigint | | +| component_id | bigint | | +| npc_id | bigint | | +| session_id | varchar | | +| dialog_list | text | | +| dialog_score | text | | +| tencent_soe | text | | +| chat_review_resp | text | | +| cost_time | int | | +| insert_time | datetime | | +| log_type | tinyint | | +| deal_status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_drama_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| component_id | bigint | | +| npc_id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_friend_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| npc_id | bigint | | +| favorability_value | int | | +| level | int | | +| relation_type | tinyint | | +| interact_times | int | | +| story_id | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_game_finish_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| game_id | bigint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_interact_chat_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| npc_id | bigint | | +| session_id | varchar | | +| type | varchar | | +| name | varchar | | +| text | varchar | | +| interactive_type | text | | +| interactive_selected | tinyint | | +| chat_time | datetime | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_interact_log +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| component_type | tinyint | | +| relation_type | tinyint | | +| npc_id | bigint | | +| session_id | varchar | | +| summary | text | | +| dialog_list | text | | +| dialog_score | text | | +| tencent_soe | text | | +| chat_review_resp | text | | +| cost_time | int | | +| insert_time | datetime | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | +| favor_value | int | | + +### vala_user_learn_record +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| user_id | bigint | | +| game_id | bigint | | +| chapter_id | bigint | | +| score | float | | +| score_level | char | | +| unique_code | varchar | | +| source_type | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | timestamp | | + +### vala_user_long_term_memory +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | int | | +| npc_id | int | | +| robot_id | int | | +| config_id | int | | +| session_id | varchar | | +| log_id | int | | +| source | varchar | | +| source_type | varchar | | +| memory_type | varchar | | +| sub_type | varchar | | +| user_content | text | | +| system_content | text | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_user_robot +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | int | | +| user_id | bigint | | +| robot_id | bigint | | +| robot_level | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | timestamp | | + +### vala_user_word_statistics +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | int | | +| word_pattern_id | varchar | | +| count_num | int | | +| content_type | char | | +| source_type | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_wx_chatbot +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| type | varchar | | +| component_id | bigint | | +| chatbot_id | bigint | | +| title | varchar | | +| desc | text | | +| desc_detail | text | | +| npc_id | bigint | | +| target | varchar | | +| index | int | | +| complete_story | text | | +| limit_type | int | | +| limit_data | int | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### vala_wxchat_history +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| user_id | bigint | | +| wx_chatbot_id | bigint | | +| chatbot_id | bigint | | +| session_id | varchar | | +| chat_content | text | | +| question_result | text | | +| status | tinyint | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +### voice_info +【表用途注释:】 +| 字段名 | 数据类型 | 注释 | +|--------|----------|------| +| id | bigint | | +| voice_id | varchar | | +| elabs_id | varchar | | +| voice_name | varchar | | +| des | varchar | | +| gender | varchar | | +| mini_speed | float | | +| mini_volume | float | | +| mini_emotion | varchar | | +| elabs_speed | float | | +| default_platform | varchar | | +| created_at | datetime | | +| updated_at | datetime | | +| deleted_at | datetime | | + +--- +## 五、线上Elasticsearch(正式环境服务日志) +- **地址:** es-7vd7jcu9.public.tencentelasticsearch.com:9200 +- **协议:** https +- **权限:** 只读 +【说明:】ES为日志存储,索引结构可根据查询需求单独补充说明 +--- +## 六、测试Elasticsearch(测试环境服务日志) +- **地址:** es-o79jsx9i.public.tencentelasticsearch.com:9200 +- **协议:** https +- **权限:** 只读 +【说明:】ES为日志存储,索引结构可根据查询需求单独补充说明