How do placeholders work in Flyway?

后端 未结 4 658
日久生厌
日久生厌 2020-12-09 11:00

I\'m evaluating Flyway for use in my project. Our current SQL scripts contain placeholders for things like URLs which will have a different domain names depending on the env

4条回答
  •  一整个雨季
    2020-12-09 11:32

    Currently when supplying placeholders as properties, the property name should be prefixed with flyway.placeholders.

    For example the ${env.token} placeholder can be specified directly as this Ant property: flyway.placeholders.env.token

    There is currently no support for passing a property file directly, without using prefixes for the property names. Feel free to raise an issue in the Issue Tracker. :-)

提交回复
热议问题