문제

Often times DBAs like to add, remove, or tune indices as this sort of work is in their wheel-house. Is there a way to have Flyway ignore indices so these can be added ad-hoc by DBAs? I would like flyway to manage the database structure, tables, constraints, etc. but still allow DBAs to add indices for reports and such.

도움이 되었습니까?

해결책

You are free to manage the subset of objects you want using Flyway. You can do tables, your DBAs can do indices.

The only thing you need to be careful about is using clean(), as this will wipe your complete schema (including indices).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top