dbmate
CommunityMulti-module DB migrations with auto rollback.
Software Engineering#rollback#database-migrations#environment-config#sql-migration#dbmate#multiple-modules
Authorlinchuncheng
Version1.0.0
Installs0
System Documentation
What problem does it solve?
dbmate 提供对多模块项目的数据库变更管理能力,确保表结构变更可追踪、可回滚,简化环境切换与配置管理。
Core Features & Use Cases
- 自动跨模块迁移:按模块目录 sql/<module>/ 执行版本化迁移,确保顺序与依赖关系。
- 环境配置与切换:支持 local、test 和 .env 等配置环境,方便在不同环境进行迁移。
- 安全回滚与状态查看:每次迁移都附带回滚脚本,支持查看迁移状态与回滚最近一次变更。
Quick Start
Execute the migrate.sh script to run migrations for all modules.
Dependency Matrix
Required Modules
dbmatebrew
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dbmate Download link: https://github.com/linchuncheng/skill-hub/archive/main.zip#dbmate Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.