I uploaded a test version that should fix the problem. Could you double
check that it works for you?
http://www.liquibase.org/liquibase-SNAPSHOT.jar
Nathan
From: Animesh Jain [mailto:anim...@itasveer.com]
Sent: Wednesday, April 08, 2009 12:41 PM
To: liquibase-user@lists.sourceforge.net
Subject: Re: [Liquibase-user] Liquibase 1.9.2 generateChangelog Ant
targetiscreating createIndex elements without the column namewhichis
required
I'm trying on MySQL 5.0.51 on a windows machine
Thanks
Animesh
On Wed, Apr 8, 2009 at 10:05 PM, Voxland, Nathan
<nvoxl...@intelligentinsites.com> wrote:
I'll take a look at it. I think I had ran into it in testing, but
thought it looked database-specific.
What database are you using?
Nathan
From: Animesh Jain [mailto:anim...@itasveer.com]
Sent: Wednesday, April 08, 2009 8:49 AM
To: liquibase-user@lists.sourceforge.net
Subject: [Liquibase-user] Liquibase 1.9.2 generateChangelog Ant target
iscreating createIndex elements without the column name whichis required
I simply created a database with one simple table (user) and then run
the generateChangelog command on it
Here's what I'm getting
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
<changeSet author="user (generated)" id="1239198346828-1">
<createTable tableName="user">
<column name="id" type="INT">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="email" type="VARCHAR(60)"/>
<column name="name" type="VARCHAR(60)"/>
</createTable>
</changeSet>
<changeSet author="user (generated)" id="1239198346828-2">
<createIndex indexName="PRIMARY" tableName="user"
unique="true"/>
</changeSet>
</databaseChangeLog>
The 'createIndex' element does not contain a 'column' nested element.
Seems like a bug. Please help if I'm doing something wrong. I can share
the small project I've created to replicate the results if needed.
Thanks
Animesh
------------------------------------------------------------------------
------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Liquibase-user mailing list
Liquibase-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/liquibase-user
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Liquibase-user mailing list
Liquibase-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/liquibase-user