1 package SQL::Translator::Schema::Constants;
3 # ----------------------------------------------------------------------
4 # $Id: Constants.pm,v 1.1 2003-05-03 04:07:09 kycl4rk Exp $
5 # ----------------------------------------------------------------------
6 # Copyright (C) 2003 Ken Y. Clark <kclark@cpan.org>
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; version 2.
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 # -------------------------------------------------------------------
25 SQL::Translator::CMap::Constants - constants module
29 use SQL::Translator::CMap::Constants;
31 $table->add_constraint(
38 This module exports a several constants to like "primary key," etc.
43 use base qw( Exporter );
44 use vars qw( @EXPORT $VERSION );
46 $VERSION = (qw$Revision: 1.1 $)[-1];
52 use constant PRIMARY_KEY => 'primary_key';
60 Ken Y. Clark E<lt>kclark@cpan.orgE<gt>
66 This library is free software; you can redistribute it and/or modify
67 it under the same terms as Perl itself.