Skip to content

Instantly share code, notes, and snippets.

@yusuke2255 yusuke2255/file0.xml

Created Feb 25, 2015
What would you like to do?
【メモ】Dropwizardのmigrationでカラムにcharasetを指定する ref:
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns=""
<changeSet id="1" author="y.hoge">
<createTable tableName="hoges">
<column name="id" type="int(11)" autoIncrement="true">
<constraints primaryKey="true" nullable="false" />
<column name="message_text" type="text">
<constraints nullable="false" />
<sql>ALTER TABLE hoges MODIFY hoge_text text CHARACTER SET utf8
COLLATE utf8_unicode_ci;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.