How to create a database with flyway?

前端 未结 5 918
执念已碎
执念已碎 2020-12-25 11:55

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 flyw

5条回答
  •  独厮守ぢ
    2020-12-25 12:55

    Flyway can't create database for you. It can create schema if you didn't create one by

    flyway.schemas: schema1,schema2
    

提交回复
热议问题