Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Allow a configurable prefix to be prepended to cassandra_migration_version* table names #18

Merged
merged 2 commits into from
Sep 30, 2016
Merged

Allow a configurable prefix to be prepended to cassandra_migration_version* table names #18

merged 2 commits into from
Sep 30, 2016

Conversation

james-hu
Copy link
Contributor

Summary

Completes feature #16

Now the migration table name prefix can be set by any of these:

  • In code: cm.setTablePrefix("my_app_");
  • As command line argument: -Dcassandra.migration.table.prefix=another_app_

The name tablePrefix follows the name table of Flyway (https://flywaydb.org/documentation/commandline/info)


## Pull Request (PR) Checklist ### Documentation - [x] Documentation in `README.md` or Wiki updated ### Code Review - [x] Self code review -- take another pass through the changes yourself - [ ] Completed all relevant `TODO`s, or call them out in the PR comments ### Tests - [x] All tests passes

Copy link
Owner

@hhandoko hhandoko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for your contribution @james-hu !

@hhandoko hhandoko merged commit 32077c8 into hhandoko:master Sep 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants