[DBIx-Class-Devel] [dbix-class] Allow SQLT options to be passed to unique constraints (#88)

Alastair McGowan-Douglas notifications at github.com
Tue Nov 3 13:40:03 GMT 2015


Recreated #87 because I based it off master instead of blead.

This PR does work against the current version of SQLT, but that version of SQLT doesn't actually do anything with the information.

There is a PR on SQLT that will actually cause this to have some effect.

dbsrgits/sql-translator#75

I will try to write some tests for this, but I wanted to get the PR made so I can invite discussion in the meantime.
You can view, comment on, or merge this pull request online at:

  https://github.com/dbsrgits/dbix-class/pull/88

-- Commit Summary --

  * Allow SQLT options to be passed to unique constraints
  * No longer require caveat on unique \%options

-- File Changes --

    M lib/DBIx/Class/ResultSource.pm (48)
    M lib/SQL/Translator/Parser/DBIx/Class.pm (4)

-- Patch Links --

https://github.com/dbsrgits/dbix-class/pull/88.patch
https://github.com/dbsrgits/dbix-class/pull/88.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/88
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20151103/fab65923/attachment.htm>


More information about the DBIx-Class-Devel mailing list