[DBIx-Class-Devel] [sql-translator] Don't create a superfluous index for FK that is PK (#56)
Marc Mims
notifications at github.com
Fri May 22 14:44:02 GMT 2015
If the primary key is also a foreign key, there's no need to create an
index for it, because the primary key constraint will suffice.
You can view, comment on, or merge this pull request online at:
https://github.com/dbsrgits/sql-translator/pull/56
-- Commit Summary --
* Don't create a superfluous index for FK that is PK
-- File Changes --
M lib/SQL/Translator/Producer/MySQL.pm (8)
M t/38-mysql-producer.t (57)
-- Patch Links --
https://github.com/dbsrgits/sql-translator/pull/56.patch
https://github.com/dbsrgits/sql-translator/pull/56.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/56
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20150522/405aa360/attachment.htm>
More information about the DBIx-Class-Devel
mailing list