Loading tutorials
application.yml, Maven or Gradle dependencies, basic SQL DDL, and have a PostgreSQL database you c4 min readflyway-core and the database module for your database to a Spring Boot project, as shown in the previous chapter. Here you write the m5 min readflyway-core and the PostgreSQL module on the classpath, a db/migration folder with at least one V1__...sql file, and a working DataSource. It follows what Spring Boot and Flyway do between the 6 min readV1__create_app_user.sql, and be able to query PostgreSQL with psql or an IDE. Here you will learn what Flyway records in its own bookkeeping table, ho6 min readflyway_schema_history. It also assumes you know how application.yml and Spring profiles work. Here you will learn which spring.flyway properties matter, which defaults you should kee5 min readapp_user migrations from the earlier chapters (V1 creates the table, V2 adds display_name). It also assumes you can read a basic JPA entity.6 min readV1__...sql) and know that Flyway records each one in flyway_schema_history. It also assumes basic SQL for views and functions on PostgreSQL. The examples use the app_user table from the earlier chapters.5 min readflyway_schema_history, and that Spring Boot runs Flyway at startup. Here you will see how Flyway detects changes to applied migrations, why it refuses to start when it finds one, and how7 min readflyway_schema_history table, and set spring.flyway.* properties. It also assumes you can run pg_dump against PostgreSQL. Here you will bring Flyway to a database that already has tables, data, and no migration history.6 min readV1__...sql), you know how Spring Boot runs Flyway at startup, and you have written a basic JUnit 5 test. Docker must be available on the machine that runs the tests.4 min readflyway_schema_history, and you use Git branches and pull requests. It covers what goes wrong when several developers add migrations at the same time, and how to handle it.5 min readddl-auto: validate with Hibernate. It builds on the naming rules, the flyway_schema_history table, and repeatable migrations from earlier chapters.6 min readflyway_schema_history, and configure spring.flyway properties. It also assumes you know what checksum5 min read