SYNOPSIS

my $crt_index = Monorail::Change::CreateIndex->new(
    table   => $idx->table->name,
    name    => $idx->name,
    fields  => scalar $idx->fields,
    type    => lc $idx->type,
    options => scalar $idx->options,
);

print $crt_index->as_perl;

$crt_index->as_sql;

$crt_index->transform_dbix($dbix)