db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r409226 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java
Date Wed, 24 May 2006 18:35:23 GMT
Author: tomdz
Date: Wed May 24 11:35:22 2006
New Revision: 409226

URL: http://svn.apache.org/viewvc?rev=409226&view=rev
Log:
Added size to VARCHAR pk columns to avoid problems with Firebird

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java?rev=409226&r1=409225&r2=409226&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestAlteration.java Wed May 24 11:35:22
2006
@@ -1310,11 +1310,11 @@
             "<database name='roundtriptest'>\n"+
             "  <table name='roundtrip1'>\n"+
             "    <column name='pk1' type='INTEGER' primaryKey='true' required='true'/>\n"+
-            "    <column name='pk2' type='VARCHAR' primaryKey='true' required='true'/>\n"+
+            "    <column name='pk2' type='VARCHAR' size='12' primaryKey='true' required='true'/>\n"+
             "  </table>\n"+
             "  <table name='roundtrip2'>\n"+
             "    <column name='pk' type='INTEGER' primaryKey='true' required='true'/>\n"+
-            "    <column name='avalue1' type='VARCHAR' required='true'/>\n"+
+            "    <column name='avalue1' type='VARCHAR' size='12' required='true'/>\n"+
             "    <column name='avalue2' type='INTEGER' required='true'/>\n"+
             "    <foreign-key foreignTable='roundtrip1'>\n"+
             "      <reference local='avalue2' foreign='pk1'/>\n"+



Mime
View raw message