1 package SQL::Translator::Object::Table;
3 use MooseX::Types::Moose qw(HashRef Str);
4 use MooseX::AttributeHelpers;
5 #use MooseX::Types::Set::Object;
6 use SQL::Translator::Types qw(Column Constraint Index Schema);
7 use SQL::Translator::Object::Schema;
8 extends 'SQL::Translator::Object';
17 metaclass => 'Collection::Hash',
19 isa => HashRef[Column],
24 metaclass => 'Collection::Hash',
26 isa => HashRef[Index],
30 has 'constraints' => (
31 metaclass => 'Collection::Hash',
33 isa => HashRef[Constraint],
41 default => sub { SQL::Translator::Object::Schema->new }