use MooseX::Declare;
class SQL::Translator::Object::Index {
- use MooseX::Types::Moose qw(HashRef Str);
+ use MooseX::Types::Moose qw(ArrayRef HashRef Str);
use MooseX::AttributeHelpers;
use SQL::Translator::Types qw(Column);
extends 'SQL::Translator::Object';
required => 1
);
+ has 'options' => (
+ is => 'rw',
+ isa => ArrayRef,
+ auto_deref => 1
+ );
+
+ has 'extra' => (
+ is => 'rw',
+ isa => HashRef,
+ auto_deref => 1,
+ );
+
method get_fields { return $self->get_columns }
method fields { return $self->column_ids }
}