logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SQL::Translator::Schema::Constants - constants module

Author

       Ken Youens-Clark <kclark@cpan.org>.

perl v5.40.0                                       2024-11-23             SQL::Translator...hema::Constants(3pm)

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,
         );

See Also