GenerateMigrationsParameters
Parameter objects for the migrations extension's work actions.
Properties
Optional classpath that is scanned for Exposed table definitions. Defaults to the project's runtime classpath.
Password for the database connection, which should be considered as the current schema. This is optional only if testContainersImageName is not set.
URL for the database connection, which should be considered as the current schema. This is optional only if testContainersImageName is not set.
Username for the database connection, which should be considered as the current schema. This is optional only if testContainersImageName is not set.
Directory where the generated migration scripts will be stored. Defaults to src/main/resources/db/migration.
Optional file extension for migration scripts. Defaults to .sql.
Optional prefix for migration script names. Defaults to V.
Optional separator for migration script names. Defaults to __.
Optional version format for migration script names. Defaults to using the full current timestamp (with seconds) in the format YYYYMMDDHHMMSS.
Optional command line argument that overrides any filename configurations declared in the build file. Passing an argument to this option means all migration statements will be stored in a single generated file of this name, which should include the required extension as well.
Package name where Exposed table definitions are expected to be located.
Docker image name for when using TestContainers to apply existing scripts before generating new ones. This is optional only if no values are set for any database properties.
Optional flag for whether the descriptive part of migration script names should be all in upper-case. Defaults to true.