title: Heroku FlywayException: Unable to autodetect JDBC driver for url
body: <p>I've tried to deploy my app to Heroku. I can see that logs have exception like:</p>
  <p><code>org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is org.flywaydb.core.api.FlywayException: Unable to autodetect JDBC driver for url: jdbc:postgres://hostname:5432/databaseName</code>.</p>
  <p>I know why I have that exception because of <strong>jdbc:postgres</strong>://... in url. Flyway expects url like this: <strong>jdbc:postgresql</strong>://.... to define driver. But Heroku provides database url without suffix <strong>ql</strong>. How can I resolve it?</p>