1 package DBIx::Class::DeploymentHandler::Types;
6 # ABSTRACT: Types internal to DBIx::Class::DeploymentHandler
8 use Moose::Util::TypeConstraints;
9 subtype 'DBIx::Class::DeploymentHandler::Databases'
10 => as 'ArrayRef[Str]';
12 coerce 'DBIx::Class::DeploymentHandler::Databases'
16 subtype 'StrSchemaVersion'
20 ? "Schema version (currently '$_') must be a string"
21 : 'Schema version must be defined'
24 no Moose::Util::TypeConstraints;
27 # vim: ts=2 sw=2 expandtab