From: Ken Youens-Clark Date: Tue, 9 Sep 2003 16:05:09 +0000 (+0000) Subject: Wasn't producing field comments. X-Git-Tag: v0.04~182 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=13d08089d00b9e6fdb94f5a355aa650eebf93388;p=dbsrgits%2FSQL-Translator.git Wasn't producing field comments. --- diff --git a/lib/SQL/Translator/Producer/XML/SQLFairy.pm b/lib/SQL/Translator/Producer/XML/SQLFairy.pm index 162eecb..3f72839 100644 --- a/lib/SQL/Translator/Producer/XML/SQLFairy.pm +++ b/lib/SQL/Translator/Producer/XML/SQLFairy.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::XML::SQLFairy; # ------------------------------------------------------------------- -# $Id: SQLFairy.pm,v 1.3 2003-08-26 03:59:46 kycl4rk Exp $ +# $Id: SQLFairy.pm,v 1.4 2003-09-09 16:05:09 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain , @@ -78,7 +78,7 @@ Creates XML output of a schema. use strict; use vars qw[ $VERSION @EXPORT_OK ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/; use Exporter; use base qw(Exporter); @@ -127,7 +127,8 @@ sub produce { tag =>"field", end_tag => 1, methods =>[qw/name data_type default_value is_auto_increment - is_primary_key is_nullable is_foreign_key order size + is_primary_key is_nullable is_foreign_key order size + comments /], ); }