Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport latest version to Play 2.2.x #36

Open
wants to merge 50 commits into
base: play-2.2.x
Choose a base branch
from

Conversation

deterdw
Copy link

@deterdw deterdw commented Aug 14, 2015

This updates the play-2.2.x branch to a new version "1.2.2-2.2.x" with the functionality of 1.2.2 available for Play 2.2.x apps.

aziegler and others added 30 commits February 4, 2014 18:13
This change avoids initializing when the plugin is disabled.

This is specially beneficial when running tests with migrations disabled.
Hundreds of initialization checks are avoided, along with the debug
notices that accompany them.

There is no effect when the plugin is enabled.
The placeholder prefix, suffix and key-value pairs can be specificed in
application.conf, e.g.

```
db.default.migration.placeholderPrefix="$flyway{{{"
db.default.migration.placeholderSuffix="}}}"
db.default.migration.placeholders.foo="bar"
db.default.migration.placeholders.hoge="pupi"
```

This would cause

```
INSERT INTO USERS ($flyway{{{foo}}}) VALUES ('$flyway{{{hoge}}}')
```

to be rewritten to

```
INSERT INTO USERS (bar) VALUES ('pupi')
```
Add support for placeholders in migration files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants