Flyway cannot create schema table on Galera cluster (MariaDB) #1293
What version of Flyway are you using?
What database are you using (type & version)?
MariaDB 10.1.13. Note: this issue is caused by setting
What operating system are you using?
Mac OSX and Linux
What did you do?
Ran Flyway.migrate() and observed the following error:
What did you expect to see?
What did you see instead?
Since you use DB-specific SQL for each database, the following script can be updated to create a primary key at the same time as the table instead of directly afterwards: https://github.com/flyway/flyway/blob/master/flyway-core/src/main/resources/org/flywaydb/core/internal/dbsupport/mysql/createMetaDataTable.sql
I will submit a pull request for this.
The text was updated successfully, but these errors were encountered:
…o that Flyway can work on servers with 'innodb_force_primary_key' enabled. Fixes flyway#1293