package SQL::Translator::Schema::Field;
# ----------------------------------------------------------------------
-# $Id: Field.pm,v 1.16 2004-03-23 21:42:42 grommit Exp $
+# $Id: Field.pm,v 1.17 2004-03-23 21:45:19 grommit Exp $
# ----------------------------------------------------------------------
# Copyright (C) 2002-4 SQLFairy Authors
#
use base 'Class::Base';
use vars qw($VERSION $TABLE_COUNT $VIEW_COUNT);
-$VERSION = sprintf "%d.%02d", q$Revision: 1.16 $ =~ /(\d+)\.(\d+)/;
+$VERSION = sprintf "%d.%02d", q$Revision: 1.17 $ =~ /(\d+)\.(\d+)/;
# Stringify to our name, being careful not to pass any args through so we don't
# accidentally set it to undef. We also have to tweak bool so the object is
Object constructor.
- my $schema = SQL::Translator::Schema::Field->new(
+ my $field = SQL::Translator::Schema::Field->new(
+ name => 'foo',
+ table => $table,
);
=cut