Created
March 27, 2016 22:34
-
-
Save jonniesweb/e1e14d4e230987e1ef84 to your computer and use it in GitHub Desktop.
Liquibase configuration for setting the MySql engine and charset for each table
This file contains hidden or 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
<changeSet> | |
<createTable> | |
... | |
</createTable> | |
<!-- Place this <modifySql> block at the bottom of each table definition. Search and replace works really well. --> | |
<modifySql dbms="mysql"> | |
<append value="ENGINE=INNODB DEFAULT CHARSET=UTF8"/> | |
</modifySql> | |
</changeSet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to write inside a separate as on starting the db migration process, it will fire an error if the database is already deployed elsewhere.?