Commit | Line | Data |
---|---|---|
c5051351 | 1 | package SQL::Translator::Object::Index; |
2 | use Moose; | |
eeb819a1 | 3 | use SQL::Translator::Types; |
c5051351 | 4 | |
5 | has 'name' => (is => 'ro', isa => 'Str', required => 1); | |
eeb819a1 | 6 | has 'columns' => (is => 'ro', isa => 'ArrayRef[Column]', required => 1); |
c5051351 | 7 | has 'type' => (is => 'ro', isa => 'Str', required => 1); |
8 | ||
9 | 1; |