Docs/Commands/import-flyway
OSSgenerated from cli/_parser_setup.py
dblift import-flyway
Copy a Flyway schema history into DBLift's own history table. It reads `flyway_schema_history` directly from the database and translates each row, including Flyway's migration type vocabulary. Your migration scripts are not read and not modified.
Synopsis
$ dblift import-flyway [--flyway-table TABLE] [--table TABLE]Options
FlagDescription
--tableCustom schema history table name (default: dblift_schema_history)--flyway-tableSource Flyway schema history table name (default: flyway_schema_history)Global flags apply to every command: --config, --env, --scripts, --dry-run, --quiet, --log-level. See global flags.
Examples
See what would be imported
$ dblift import-flyway --dry-runImport from a renamed Flyway table
$ dblift import-flyway --flyway-table schema_versionConfirm the result
$ dblift infoExit codes
CodeMeaning
0Command completed successfully4A paid-edition feature was invoked without a valid licence (EXIT_LICENSE_REQUIRED)