[DBIx-Class-Devel] [dbsrgits/sql-translator] Honour DEFERRABLE on all constraints in PostgreSQL (#75)

Veesh Goldman notifications at github.com
Wed Mar 2 15:19:51 GMT 2022


@rabbiveesh commented on this pull request.



> @@ -56,6 +56,7 @@ Object constructor.
       match_type       => 'full',        # how to match
       on_delete        => 'cascade',     # what to do on deletes
       on_update        => '',            # what to do on updates
+      deferrable       => 0,             # whether to set DEFERRABLE, if supported by the database

deferrable constraints are part of the SQL standard, so I'm with @ilmari's original implementation here (sorry to revive a 6-year old thread, i'm just reviewing this to merge b/c I need it for $work)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/75#discussion_r817797241
You are receiving this because you are subscribed to this thread.

Message ID: <dbsrgits/sql-translator/pull/75/review/897726287 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20220302/7422bf78/attachment.htm>


More information about the DBIx-Class-Devel mailing list