feat(mysql): 补齐初始化表结构 - #68
Draft
xiaorongnie wants to merge 1 commit into
Draft
xiaorongnie wants to merge 1 commit into
xiaorongnie wants to merge 1 commit into
Conversation
xiaorongnie
requested review from
TranscodeGroupDeveloper,
cyccycy and
jss-tg
as code owners
September 20, 2026 02:53
xiaorongnie
force-pushed
the
codex/card-additional-schema
branch
from
September 20, 2026 03:35
e64472d to
3e26c31
Compare
xiaorongnie
marked this pull request as draft
September 20, 2026 03:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
按后端变更时间同步的初始化表结构
user_line_config建表语句,新增user_third_notify_config建表语句;将user_subscribe_config.notify_pipe的渠道注释由LINE改为THIRD。ledger_timeline.flag注释中增加13=加油;新增(organize_id, vehicle_id, flag, start_time)索引idx_flag_time。ledger_trip_driver_segment表,包含驾驶员行程区段字段及主键、唯一索引和查询索引。jtt808_card新增additionalJSON 字段,以及(organize_id, vehicle_id, card_id, event_time)索引idx_card_match。修改文件:
mysql8/initdb/01-maintain-init-table.sql。该文件供新数据库初始化使用;已有数据库由 Tracker-V2 的迁移脚本更新。验证
git diff --check通过。