use DBI::Const::GetInfoReturn;
use MooseX::Types::Moose qw(HashRef Maybe Str);
+ use MooseX::MultiMethods;
use SQL::Translator::Object::Column;
use SQL::Translator::Object::ForeignKey;
$index->add_column($table->get_column($_)) for @index_cols;
$table->add_index($index);
}
+
+ multi method parse(Schema $data) { $data }
+
+ multi method parse(Any $) {
+ $self->_add_tables($self->schema);
+ }
}