palikka.components.flyway

->Flyway

(->Flyway ds {:keys [schemas locations]})

->FlywayComponent

(->FlywayComponent db opts migrate?)
Positional factory function for class palikka.components.flyway.FlywayComponent.

check

(check opts)
Checks the migration status when starting the system
so you'll know when to run the migrations.

check-migration-status!

(check-migration-status! flyway)
Checks if there are pending migrations.

Config

map->FlywayComponent

(map->FlywayComponent m__6289__auto__)
Factory function for class palikka.components.flyway.FlywayComponent, taking a map of keywords to field values.

migrate

(migrate opts)
Runs the migrations.

migrate!

(migrate! flyway)
Runs migrations