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 );
46 our $VERSION = '1.59';
61 # Because "CHECK" is a Perl keyword
63 use constant CHECK_C => 'CHECK';
65 use constant FOREIGN_KEY => 'FOREIGN KEY';
67 use constant FULL_TEXT => 'FULLTEXT';
69 use constant SPATIAL => 'SPATIAL';
71 use constant NOT_NULL => 'NOT NULL';
73 use constant NORMAL => 'NORMAL';
75 use constant NULL => 'NULL';
77 use constant PRIMARY_KEY => 'PRIMARY KEY';
79 use constant UNIQUE => 'UNIQUE';
87 Ken Youens-Clark E<lt>kclark@cpan.orgE<gt>.