SQL::Translator::Schema::Constants - constants module
Contents
Description
This module exports the following constants for Schema features;
CHECK_C
FOREIGN_KEY
FULL_TEXT
NOT_NULL
NORMAL
NULL
PRIMARY_KEY
UNIQUE
EXCLUDE
Name
SQL::Translator::Schema::Constants - constants module
Synopsis
use SQL::Translator::Schema::Constants;
$table->add_constraint(
name => 'foo',
type => PRIMARY_KEY,
);
