How to create a database with flyway?
问题 Question: Is it possible to create a new DB in a migration script and then connect to it? How? My Scenario: I'm trying to use flyway in my Java project (RESTful application using Jersey2.4 + tomcat 7 + PostgreSQL 9.3.1 + EclipseLink) for managing the changes between different developers which are using git. I wrote my init script and ran it with: PGPASSWORD='123456' psql -U postgres -f migration/V1__initDB.sql and it worked fine. The problem is that I can't create new DB with my scripts. when