Closed maugsbur closed 9 years ago
PG::ForeignKeyViolation: ERROR: update or delete on table "projects" violates foreign key constraint "fk_rails_bb2fd79f14" on table "permissions"
The Permissions model config should do cascade deleting, with dependent: destroy on Project model
There should also be a warning saying that it's shared with other users before deleting it.
PG::ForeignKeyViolation: ERROR: update or delete on table "projects" violates foreign key constraint "fk_rails_bb2fd79f14" on table "permissions"
The Permissions model config should do cascade deleting, with dependent: destroy on Project model
There should also be a warning saying that it's shared with other users before deleting it.