Subject: | PostgreSQL producer: create index using hash method |
Hello!
I've read the documentation on SQL::Translator::Schema::Index module and
couldn't understand how I should set the 'options' parameter to create
index with the HASH method.
I tried to set it like this:
my $i1 = $table->add_index(
name => 'name',
fields => [ 'name' ],
options => ['using' => 'hash'],
);
but didn't get the expected result, index was created with B-tree method.
Please, give me the right example and could you add it to the
documentation for everyone.