سؤال

Is it possible that flyway leave dataSource connected to the schema used in migration which is different from the default dataSource schema?

هل كانت مفيدة؟

المحلول

Flyway obtains connections from the supplied datasource. On these connections, if the schemas property is set, the default schema is set to the first schema in the list.

This setting is only valid at the connection level. If you don't reuse the connection, you shouldn't see any changes.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top