1 package SQL::Translator::Schema::Constants;
5 SQL::Translator::Schema::Constants - constants module
9 use SQL::Translator::Schema::Constants;
11 $table->add_constraint(
18 This module exports the following constants for Schema features;
44 use base qw( Exporter );
45 use vars qw( @EXPORT $VERSION );
62 # Because "CHECK" is a Perl keyword
64 use constant CHECK_C => 'CHECK';
66 use constant FOREIGN_KEY => 'FOREIGN KEY';
68 use constant FULL_TEXT => 'FULLTEXT';
70 use constant SPATIAL => 'SPATIAL';
72 use constant NOT_NULL => 'NOT NULL';
74 use constant NORMAL => 'NORMAL';
76 use constant NULL => 'NULL';
78 use constant PRIMARY_KEY => 'PRIMARY KEY';
80 use constant UNIQUE => 'UNIQUE';
88 Ken Youens-Clark E<lt>kclark@cpan.orgE<gt>.