Hi
I'm trying to get Liquibase 3.0.5 running with formatted sql
in my sql file I have
- -liquibase formatted sql
- --changeset jvddrift:1 dbms:MySQL
- CREATE TABLE 'department' ('id' int(11) NOT NULL,'name' varchar(50) NOT NULL,'active' bit(1) DEFAULT '1',PRIMARY KEY ('id'));
- <?xml version="1.0" encoding="UTF-8"?>
- <databaseChangeLog
- xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
- http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd">
- <include file="c:/temp/liquibase/liquibase.sql" />
- </databaseChangeLog>
howevere when I run liquibase, I get the following error
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--liquibase formatted sql
I'm using Liquibase for the first time, so I have no idea on what is going wrong here.
Can anyone help?