Skip to content

Instantly share code, notes, and snippets.

@vrudikov
Forked from jonniesweb/changelog.xml
Created May 3, 2017 21:05
Show Gist options
  • Save vrudikov/672323a4d6a9d4fb3a74bb93b06ef998 to your computer and use it in GitHub Desktop.
Save vrudikov/672323a4d6a9d4fb3a74bb93b06ef998 to your computer and use it in GitHub Desktop.
Liquibase configuration for setting the MySql engine and charset for each table
<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