Search
-
Does Flyway support Jinja template if-else-endif syntax?
Hi, I tried to run SQL statement for specific environment by using Jinja template if-else-endif syntax. -- {% if '${env}' = 'stg' %}grant test_role to test_user;{% endif %} -- but it failed with syntax error. -- SQL State : 42601 Error Code : 0Message : ERROR: syntax error at or near "{" Position: 1Line : 4 Statement : {%… -
Re: Does Flyway support Jinja template if-else-endif syntax?
2 results