Get clarity on ForeignKey consistency foo #37

Open
opened 2020-06-16 16:07:35 +00:00 by phryk · 0 comments
phryk commented 2020-06-16 16:07:35 +00:00 (Migrated from rnd.phryk.net)

Originally from github issue:

  • Add option for cascading delete / deny? Does peewee already offer something?
  • How to cascade updates of foreignkey-referenced fields (for ex.: Group.name to UserGroup, GroupPermission,…)?

peewee indeed offers cascade options, and this is used in at least one place.
See what the default behavior is and whether we still have to adjust other places.

Originally from github issue: > - Add option for cascading delete / deny? Does peewee already offer something? > - How to cascade updates of foreignkey-referenced fields (for ex.: Group.name to UserGroup, GroupPermission,…)? peewee indeed offers cascade options, and this is used in at least one place. See what the default behavior is and whether we still have to adjust other places.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: phryk-evil-mad-sciences-llc/poobrains#37
No description provided.