Index: table.vm
===================================================================
RCS file: /home/cvspublic/jakarta-turbine/conf/torque/templates/sql/base/postgresql/table.vm,v
retrieving revision 1.4
diff -u -r1.4 table.vm
--- table.vm	2001/02/27 16:37:43	1.4
+++ table.vm	2001/05/24 17:34:29
@@ -7,12 +7,10 @@
 (
 #set ( $cols = $generator.parse("$basepath/columns.vm", "", "table",$tbl) )
 #set ( $pk = $generator.parse("$basepath/primarykey.vm", "", "table", $tbl) )
-#set ( $fk = $generator.parse("$basepath/foreignkey.vm", "", "table", $tbl) )
 #set ( $unique = $generator.parse("$basepath/unique.vm", "", "table", $tbl) )
 #set ( $index = $generator.parse("$basepath/index.vm", "", "table", $tbl) )
-#if($strings.allEmpty([$pk,$fk,$unique]))$strings.chop($cols,1)#else$cols#end
-#if($strings.allEmpty([$fk,$unique]) && $pk.length()>0)$strings.chop($pk,2)#else$pk#end
-#if($strings.allEmpty([$unique]) && $fk.length()>0)$strings.chop($fk,2)#else$fk#end
+#if($strings.allEmpty([$pk,$unique]))$strings.chop($cols,1)#else$cols#end
+#if($strings.allEmpty([$unique]) && $pk.length()>0)$strings.chop($pk,2)#else$pk#end
 #if($unique.length() > 0)$strings.chop($unique,2)#end
 
 );
