You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/08/16 19:39:55 UTC
cvs commit: jakarta-turbine-torque/src/templates/sql/base/mysql table.vm
dlr 01/08/16 10:39:55
Modified: src/templates/sql/base/mysql table.vm
Log:
Changed index.vm template; now want to chop last newline and comma.
Revision Changes Path
1.2 +1 -1 jakarta-turbine-torque/src/templates/sql/base/mysql/table.vm
Index: table.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/templates/sql/base/mysql/table.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -u -r1.1 -r1.2
--- table.vm 2001/08/02 05:08:40 1.1
+++ table.vm 2001/08/16 17:39:55 1.2
@@ -14,6 +14,6 @@
#if($strings.allEmpty([$fk,$unique,$index]) && $pk.length()>0)$strings.chop($pk,2)#else$pk#end
#if($strings.allEmpty([$unique,$index]) && $fk.length() >0)$strings.chop($fk,2)#else$fk#end
#if($strings.allEmpty([$index]) && $unique.length()>0)$strings.chop($unique,2)#else$unique#end
-#if($index.length() > 0)$strings.chop($index,1)#end
+#if($index.length() > 0)$strings.chop($index,2)#end
);
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org