[PR #11499] feat: allow setting foreign deferrable key as IMMEDIATE or DEFERRABLE #13064

Open
opened 2026-01-22 16:16:03 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/11499

State: open
Merged: No


Summary

Pass options to FK because of \Doctrine\DBAL\Platforms\PostgreSQLPlatform::getAdvancedForeignKeyOptionsSQL

How to use

#[ORM\JoinColumn(name: 'customer_id', options: ['deferrable' => true, 'deferred' => true])]
**Original Pull Request:** https://github.com/doctrine/orm/pull/11499 **State:** open **Merged:** No --- #### Summary Pass options to FK because of \Doctrine\DBAL\Platforms\PostgreSQLPlatform::getAdvancedForeignKeyOptionsSQL #### How to use ``` #[ORM\JoinColumn(name: 'customer_id', options: ['deferrable' => true, 'deferred' => true])] ```
admin added the pull-request label 2026-01-22 16:16:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13064