Closed aminosbh closed 3 years ago
Add support for "ON UPDATE SET NULL" clause in Foreign Key Constraints.
PostgreSQL (v7.3 -> v13) supports the following clause: ON UPDATE <OPTION> where <OPTION> could be one of the following: RESTRICT, NO ACTION, SET NULL and SET DEFAULT
ON UPDATE <OPTION>
<OPTION>
RESTRICT
NO ACTION
SET NULL
SET DEFAULT
Reference: https://www.postgresql.org/docs/13/ddl-constraints.html https://www.postgresql.org/docs/7.3/ddl-constraints.html
Thanks @aminosbh for this PR!
Add support for "ON UPDATE SET NULL" clause in Foreign Key Constraints.
PostgreSQL (v7.3 -> v13) supports the following clause:
ON UPDATE <OPTION>
where<OPTION>
could be one of the following:RESTRICT
,NO ACTION
,SET NULL
andSET DEFAULT