From: Brian O'Connor Date: Fri, 16 Apr 2004 22:20:14 +0000 (+0000) Subject: Updated a problem with the Turnkey template producer X-Git-Tag: v0.06~81 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e66764e590111ae2c64da649507c20c88473dcc9;p=dbsrgits%2FSQL-Translator.git Updated a problem with the Turnkey template producer --- diff --git a/lib/SQL/Translator/Producer/Turnkey.pm b/lib/SQL/Translator/Producer/Turnkey.pm index 2bcf783..44fe2f6 100644 --- a/lib/SQL/Translator/Producer/Turnkey.pm +++ b/lib/SQL/Translator/Producer/Turnkey.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::Turnkey; # ------------------------------------------------------------------- -# $Id: Turnkey.pm,v 1.42 2004-04-16 09:46:51 boconnor Exp $ +# $Id: Turnkey.pm,v 1.43 2004-04-16 22:20:14 boconnor Exp $ # ------------------------------------------------------------------- # Copyright (C) 2002-4 SQLFairy Authors # @@ -22,7 +22,7 @@ package SQL::Translator::Producer::Turnkey; use strict; use vars qw[ $VERSION $DEBUG ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.42 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.43 $ =~ /(\d+)\.(\d+)/; $DEBUG = 1 unless defined $DEBUG; use SQL::Translator::Schema::Constants; @@ -652,7 +652,7 @@ EOF [- FOREACH field = node.data_fields -] [- IF field != "1" -] - + [- END -] [- END -] [- FOREACH field = node.edges -]
[- field -][% obj2link(fields.[- field -]) %]
[- field.key -][% obj2link(fields.[- field.key -]) %]