Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同じライフサイクルを持つ複数のスキーマで Flyway を使用して DB 移行を使用する場合、flyway:clean を使用するとすべてがクリーンになるようにするにはどうすればよいですか?
これに対するサポートが 1.3.1 リリースに追加されました!
管理したいスキーマのリストをflyway.schemasプロパティに設定してください。
例:
flyway.schemas=schema1,schema2,schema3
mvn flyway:clean は 3 つのスキーマすべてを消去するようになりました。