How can we help you today? How can we help you today?
javaDuke

Activity overview

Latest activity by javaDuke

Peter_Laws said: As the interface says, these parameters are temporary and will not persist. Whereas, if you were to define them in the config file or environment variables (as mentioned in link of your first comment) they will then persist. Additionally, if you add them in either environment variables, or the root flyway install directory as opposed to the project directory, the placeholders will be available for all instances of flyway. It worked when I tried. Thank you! Just a note to other devs, there are two "toml" format config files: - flyway.toml - flyway.user.toml I tried setting up my placeholders in either of them and it worked. NOTE: When you setup in flyway.user.toml you should specify full placehalder key name otherwise it will not be found. Example: Consider placeholder key "myKey", then in flyway.user.toml you should specify: flyway.placeholders.myKey = "myValue" In flyway.toml there are sections and you can spectify in "Global" flyway section, e.g. [flyway] mixed = true outOfOrder = true locations = [ "filesystem:migrations" ] validateMigrationNaming = true placeholders.myKey = "myValue" Notice, that "flyway" prefix was omitted, since its part of the [flyway] section that adds this namespace. For environment specific section you have to specify full placeholder name, for example H2Mem: [environments.H2Mem] url = "jdbc:h2:mem:testdb" user = "sa" flyway.placeholders.myKey = "myValue" <-- notice prefix "flyway." / comments
Peter_Laws said: As the interface says, these parameters are temporary and will not persist.Whereas, if you were to define them in the config file or environment variables (as mentioned in li...
0 votes
Flyway Placeholders are not saved in the project
While using community edition desktop, I've noticed that once I did setup my placeholders, it does no save into the project file. So the next time I start the desktop, the placeholders are gone. Is...
2 followers 6 comments 0 votes