Hello, I'm new to Liquibase and am looking to see how it can be used on an already existing project. I found the documentation on how to generate a changelog against our existing MySql DB. But all of my attempts to do so have created changelogs which fail validation as part of a later update/changeLogSync command due to the fact that no column definitions are included in the create table commands.
In case it illuminates a mistake I'm making, there's the command I ran:
and here's a snippet of the generated changelog:
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
<changeSet author="elumpkin (generated)" id="1517330636868-1">
<createTable tableName="accesscontrolgroup"/>
</changeSet>
<changeSet author="elumpkin (generated)" id="1517330636868-2">
<createTable tableName="accessgroup"/>
</changeSet>
<changeSet author="elumpkin (generated)" id="1517330636868-3">
<createTable tableName="accountuser"/>
</changeSet>
....
</databaseChangeLog>
Lastly I'm running this against a local mysql DB which claims to be version 5.6.26-log running on Win7. Hopefully I'm just doing something wrong/dumb and you can point me in the better direction. Thanks!
-Erik