Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : SQL format changelog

$
0
0
Here are the contents of my sql file:
  1. --liquibase formatted sql
    --changeset testuser:1
    create table test1 (
        id int primary key,
        name varchar(255)
    );

I'm calling it from the command line with the following:

  1. java -jar liquibase.jar --driver=com.microsoft.sqlserver.jdbc.SQLServerDriver --classpath=sqljdbc4.jar --changeLogFile=ods_changelog_sql.sql --url="jdbc:sqlserver://tl-test5\SQLEXPRESS:1433;DatabaseName=Liquibase_Eval" --username=sa --password=ibuser update
 
It's Liquibase version 2.0.5.
 
Thanks for taking the time to look at this.

Viewing all articles
Browse latest Browse all 2993

Trending Articles