pre-review cleanup

This commit is contained in:
Ken Stevens 2019-11-04 08:36:24 -05:00
parent 1c4b73b86a
commit 30865588e3
2 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ public abstract class BaseFlywayMigrateDatabaseCommand<T extends Enum> extends B
addRequiredOption(retVal, "n", "username", "Username", "The JDBC database username");
addRequiredOption(retVal, "p", "password", "Password", "The JDBC database password");
addRequiredOption(retVal, "d", "driver", "Driver", "The database driver to use (Options are " + driverOptions() + ")");
addOptionalOption(retVal, "x", "flags", "Flags", "A comma-separated list of any specific migration flags (these flags are version specific, see migrator documentation for details)");
addOptionalOption(retVal, null, "no-column-shrink", false, "If this flag is set, the system will not attempt to reduce the length of columns. This is useful in environments with a lot of existing data, where shrinking a column can take a very long time.");
return retVal;

View File

@ -80,4 +80,5 @@ public class AddColumnTask extends BaseTableColumnTypeTask<AddColumnTask> {
}
return type + " " + nullable;
}
}