FlywayMigrator

org.mbari.oni.etc.flyway.FlywayMigrator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def migrate(databaseConfig: DatabaseConfig): Either[Throwable, Unit]

Run Flyway database migrations. It will baseline the database if no metadata table exists.

Run Flyway database migrations. It will baseline the database if no metadata table exists.

Value parameters

databaseConfig

The database configuration

Attributes

Returns

true if migrations were successful, false otherwise. The app should exit if false is returned.