[DBIx-Class-Devel] [dbsrgits/sql-translator] Improve create_index (#97)

Eugen Konkov notifications at github.com
Fri Oct 20 14:26:10 GMT 2017


`alter_create_index` may have two scenarios:

1. CREATE INDEX ...
2. ALTER TABLE ...

This scenario depend on is `$idef` returned or not.

When index definition is returned we `CREATE INDEX` in other case we `ALTER TABLE`
You can view, comment on, or merge this pull request online at:

  https://github.com/dbsrgits/sql-translator/pull/97

-- Commit Summary --

  * Improve create_index

-- File Changes --

    M lib/SQL/Translator/Producer/PostgreSQL.pm (8)

-- Patch Links --

https://github.com/dbsrgits/sql-translator/pull/97.patch
https://github.com/dbsrgits/sql-translator/pull/97.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/97
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20171020/40bbc4e5/attachment.html>


More information about the DBIx-Class-Devel mailing list