Skip to content

feat: 新增alembic迁移脚本,补充内置数据库表字段备注#1225

Open
Fit111 wants to merge 1 commit into
dataease:mainfrom
Fit111:main
Open

feat: 新增alembic迁移脚本,补充内置数据库表字段备注#1225
Fit111 wants to merge 1 commit into
dataease:mainfrom
Fit111:main

Conversation

@Fit111

@Fit111 Fit111 commented Jun 26, 2026

Copy link
Copy Markdown

变更说明

  • 新增 070_add_table_column_comments.py alembic 迁移脚本
  • 为内置 PostgreSQL 数据库的核心业务表批量补充字段 COMMENT 注释

背景

当前内置数据库表与字段缺少标准化注释,在排查问题、数据库查阅及二次开发时可读性较差,存在一定的理解成本。

验证情况

  • 本地执行 alembic upgrade head 正向迁移执行成功,无异常报错
  • 不修改表结构与字段类型,仅新增注释,对业务逻辑无影响

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant