fix(sql): 修复表结构同步忘记初始化新增语句的BUG,同步增加后端版本同步sql提醒#64
Merged
Conversation
added 4 commits
June 18, 2026 16:15
device_product 表新增 organize_id/creator_id 字段后,初始化 INSERT 未同步补充,导致 VALUES 数量与列数不一致。
用于检查 mysql8/initdb 下 INSERT VALUES 数量与 CREATE TABLE 列数是否一致,避免表结构变更后初始化数据遗漏。
记录 Docker Compose 部署架构、常用命令、配置与数据目录约定,以及初始化 SQL 校验等关键信息。
- 新增 .github/copilot-instructions.md,供 Copilot review 时提醒\n- 新增 .github/pull_request_template.md,PR 提交时强制勾选\n- 更新 CLAUDE.md,让后续 Claude Code 实例也遵守该规则
Contributor
Author
评审结论本次修复正确且补上了防止复发的机制,整体可以合并。 主要变更
验证
可选建议(非阻塞)
注意:GitHub 不允许自己批准自己的 PR,因此本评论仅作为评审意见,正式 Approve 需要其他 reviewer 操作。 |
TranscodeGroupDeveloper
previously approved these changes
Jun 18, 2026
删除 .github/copilot-instructions.md,CLAUDE.md 中不再引用 Copilot 规则。
ipcjs
reviewed
Jun 18, 2026
ipcjs
approved these changes
Jun 18, 2026
TranscodeGroupDeveloper
approved these changes
Jun 18, 2026
jss-tg
approved these changes
Jun 18, 2026
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.
Uh oh!
There was an error while loading. Please reload this page.