OpenParable
Skip to content
← Back to skills

数据库库表规范

Development

数据库库表规范 is an Agent Skill for development published in the 1095071913/maozi-cloud-parent repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

数据库库表规范说明,新增修改数据库库表时使用

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/1095071913/maozi-cloud-parent/blob/HEAD/.claude/skills/数据库库表规范/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/数据库库表规范, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

数据库库表规范

  1. 数据库及表的字符集统一使用 utf8mb4
  2. 排序规则统一使用 utf8mb4_general_ci
  3. 所有字段尽量显式声明默认值,尽量禁止使用 NULL 作为隐式默认
  4. 已提交的 Flyway SQL 迁移文件不可修改或删除,变更必须通过新增版本号的 SQL 文件实现
  5. 数据库脚本的版本号命名需与 pom.xml 中的 revision 版本号保持一致