Bumping version to 1.59_01
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Schema / Constants.pm
index 07ed979..955fee1 100644 (file)
@@ -1,25 +1,5 @@
 package SQL::Translator::Schema::Constants;
 
-# ----------------------------------------------------------------------
-# $Id: Constants.pm,v 1.41 2003-11-07 16:53:31 kycl4rk Exp $
-# ----------------------------------------------------------------------
-# Copyright (C) 2003 Ken Y. Clark <kclark@cpan.org>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; version 2.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-# -------------------------------------------------------------------
-
 =head1 NAME
 
 SQL::Translator::Schema::Constants - constants module
@@ -35,20 +15,41 @@ SQL::Translator::Schema::Constants - constants module
 
 =head1 DESCRIPTION
 
-This module exports a several constants to like "primary key," etc. 
+This module exports the following constants for Schema features;
+
+=over 4
+
+=item CHECK_C
+
+=item FOREIGN_KEY
+
+=item FULL_TEXT
+
+=item NOT_NULL
+
+=item NORMAL
+
+=item NULL
+
+=item PRIMARY_KEY
+
+=item UNIQUE
+
+=back
 
 =cut
 
 use strict;
+use warnings;
 use base qw( Exporter );
-use vars qw( @EXPORT $VERSION );
 require Exporter;
-$VERSION = sprintf "%d.%02d", q$Revision: 1.41 $ =~ /(\d+)\.(\d+)/;
+our $VERSION = '1.59_01';
 
-@EXPORT = qw[ 
+our @EXPORT = qw[
     CHECK_C
     FOREIGN_KEY
     FULL_TEXT
+    SPATIAL
     NOT_NULL
     NORMAL
     NULL
@@ -65,6 +66,8 @@ use constant FOREIGN_KEY => 'FOREIGN KEY';
 
 use constant FULL_TEXT => 'FULLTEXT';
 
+use constant SPATIAL => 'SPATIAL';
+
 use constant NOT_NULL => 'NOT NULL';
 
 use constant NORMAL => 'NORMAL';
@@ -81,13 +84,6 @@ use constant UNIQUE => 'UNIQUE';
 
 =head1 AUTHOR
 
-Ken Y. Clark E<lt>kclark@cpan.orgE<gt>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2003
-
-This library is free software;  you can redistribute it and/or modify 
-it under the same terms as Perl itself.
+Ken Youens-Clark E<lt>kclark@cpan.orgE<gt>.
 
 =cut