spring-boot-database-migrations

Community

Streamline Flyway migrations for Spring Boot.

Authorductringuyen0186
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide helps teams implement and enforce a consistent Flyway-based approach to evolving database schemas in Spring Boot projects, reducing drift and deployment risks.

Core Features & Use Cases

  • Migration conventions: define a standard V[n]__description.sql naming scheme and a predictable file location under src/main/resources/db/migration.
  • Change governance: provide rules to never modify applied migrations and to add new migrations for schema changes, with rollback guidance.
  • Practical patterns: cover common changes such as creating new tables, adding columns, and establishing foreign keys, with PostgreSQL compatibility notes.
  • Environment alignment: ensure migration behavior is consistent across development, staging, and production, including H2 vs PostgreSQL considerations.

Quick Start

Review and apply the latest migration scripts to update your database schema in a local development environment.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: spring-boot-database-migrations
Download link: https://github.com/ductringuyen0186/salon-hub-api/archive/main.zip#spring-boot-database-migrations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.