On Thu Jan 19 09:35:35 2017, KES wrote:
Show quoted text
I think the complaint here is that if you say:
$sqlt_table->add_index(
name => 'new_index',
fields => [ 'lower(some_column)' ],
type => 'unique',
);
the producer tries to create it as a CONSTRAINT in the table definition (which is invalid) rather than a 'CREATE INDEX' statement which would allow things like 'lower(some_column)'.
This makes add_index not-very-useful for a lot of cases.