My Liquibase changeset looks like
<changeSet id="05192014.1525" author="h2">
        <createTable tableName="network">
            <column name="network_id" type="BIGINT(19) UNSIGNED">
                <constraints nullable="false" primaryKey="true"/>
            </column>
            <column name="name" type="VARCHAR(300)">
                <constraints nullable="false"/>
            </column>
            <column name="active" type="TINYINT(1)" defaultValue="1">
                <constraints nullable="false"/>
            </column>
            <column name="created_at" type="TIMESTAMP" defaultValueComputed="CURRENT_TIMESTAMP">
                <constraints nullable="false"/>
            </column>
            <column name="created_by" type="VARCHAR(100)"/>
            <column name="updated_at" type="TIMESTAMP"/>
            <column name="updated_by" type="VARCHAR(100)"/>
        </createTable>
    </changeSet>
- I have integrated liquibase with Mavenusing plugin
- When I run mvn clean install, it createsMySQLtable like
CREATE TABLE
network(network_idbigint(19) unsigned NOT NULL,namevarchar(300) NOT NULL,activetinyint(1) NOT NULL DEFAULT '1',created_attimestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
created_byvarchar(100) DEFAULT NULL,updated_attimestamp NULL DEFAULT NULL,updated_byvarchar(100) DEFAULT NULL, PRIMARY KEY (network_id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Everything looks good except CHARSET=latin1
Question
How can I make CHARSET=UTF-8?
 
     
     
     
     
     
     
    