Skip to content

jxc876/flyway-demo

Repository files navigation

Flyway demo

Simple App to showcase Flyway migrations:

@MappedEntity("person")
data class Person(
	@field:Id @AutoPopulated
	val id: UUID = UUID.randomUUID(),
	val name: String,
	val company: String
)

Refer to migration folder:

V1__initial.sql
V2__AddColumn.sql

and application.yml:

flyway:
  datasources:
    default:
      enabled: true # true | false
      baseline-on-migrate: true

About

Flyway Database demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages