SpringBoot & Flyway Beginner Traps

NGU
2 min readFeb 22, 2023

Before starting, you should know and avoid some traps.

Scripts Naming

The class name consists of the following parts:

  • Prefix: `V` for versioned migrations, `U` for undo migrations, `R` for repeatable migrations
  • Version: Underscores (automatically replaced by dots at runtime) separate as many parts as you like (Not for repeatable migrations)
  • Separator: `__` (two underscores)
  • Description: Underscores (automatically replaced by spaces at…

--

--

NGU

Microservices. Cloud Native. Architecture. Record Technology, Sports, Life. A picture is worth a thousand words