Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: schakko/db-migrator
base: abaae7ccdf
...
head fork: schakko/db-migrator
compare: aacc986e36
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
2  src/main/groovy/de/ckl/dbmigration/Migrator.groovy
@@ -126,7 +126,7 @@ class Migrator {
println "[merging] Searching directory '" + pathdef.dir.getName() + "'"
// if latest file should be used, the latest migration inside the database is not relevant
- def use_version = pathdef.latest_only ? (new Version()) : version
+ def use_version = (pathdef.latest_only || version == null) ? (new Version()) : version
def candidates = strategy.find_unapplied_migrations_since(use_version, pathdef.dir, guard)
View
2  src/main/groovy/de/ckl/dbmigration/target/postgresql/Parser.groovy
@@ -8,7 +8,7 @@ import de.ckl.dbmigration.*
class Parser extends AbstractParser {
def create_custom_opts(cli) {
// overwrite some help texts and defaults
- cli.u(args:1, longOpt:'password', argName:'database-password', 'Password will be passed via environment variable PGPASSWORD; this could be security issue on some systems')
+ cli.p(args:1, longOpt:'password', argName:'database-password', 'Password will be passed via environment variable PGPASSWORD; this could be security issue on some systems')
return cli
}

No commit comments for this range

Something went wrong with that request. Please try again.