-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from xdev-software/develop
Release
- Loading branch information
Showing
14 changed files
with
122 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...d-demo/persistence/src/main/java/org/flywaydb/database/mysql/mariadb/MariaDBDatabase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package org.flywaydb.database.mysql.mariadb; | ||
|
||
import org.flywaydb.core.api.configuration.Configuration; | ||
import org.flywaydb.core.internal.jdbc.JdbcConnectionFactory; | ||
import org.flywaydb.core.internal.jdbc.StatementInterceptor; | ||
import org.flywaydb.database.mysql.MySQLDatabase; | ||
|
||
|
||
/** | ||
* Fork of default MariaDBDatabase | ||
*/ | ||
public class MariaDBDatabase extends MySQLDatabase | ||
{ | ||
public MariaDBDatabase( | ||
final Configuration configuration, | ||
final JdbcConnectionFactory jdbcConnectionFactory, | ||
final StatementInterceptor statementInterceptor) | ||
{ | ||
super(configuration, jdbcConnectionFactory, statementInterceptor); | ||
} | ||
|
||
@Override | ||
protected String getConstraintName(final String tableName) | ||
{ | ||
return ""; | ||
} | ||
|
||
@Override | ||
public void ensureSupported(final Configuration configuration) | ||
{ | ||
// YES it is supported for what we do - stop spamming the log | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.