Documentation on Advanced options for Foreign key fields

Hi all,

If you set the field type to Foreign key, you can choose what happens on deletes and updates: No action / Restrict / Cascade / Set null / Set default.

Where can I find an explanation of what these do?

Hey Richard!
This is straight from Postgres (and most other relational databases) - I see that this was answered on Stackoverflow a while back;

Hope this helps!

1 Like

Yes, perfect!