According to the documentation the way to add a placeholder is :
placeholders:{
name: 'test',
},
However, when running the task i get:
java -cp /home/robixxu/root/<project>/node_modules/grunt-flyway/flyway-3.2.1/lib/flyway-commandline-3.2.1.jar:/home/robixxu/root/<project>/node_modules/grunt-flyway/flyway-3.2.1/lib/flyway-core-3.2.1.jar org.flywaydb.commandline.Main migrate -url="jdbc:postgresql://localhost:5432/somedb" -driver="org.postgresql.Driver" -user="someuser" -password="somepassword" -locations="filesystem:db/migration" -placeholders.0="undefined"
It seems like placeholders should be an array.
I tried using ${0}in the migration file and pass:
It seems to work, but is not a good solution if you have many placeholders.
According to the documentation the way to add a placeholder is :
However, when running the task i get:
It seems like placeholders should be an array.
I tried using
${0}in the migration file and pass:It seems to work, but is not a good solution if you have many placeholders.