Removing the project that holds the Insights configuration raises an error
Steps to reproduce:
- Select a project that holds the Insights configuration in the group settings:
- Save the group settings
- Clear the selected project:
- Save the group settings
- A not-null constraint error is raised:
I think the insights
record should be deleted instead of only trying to clear its namespace_id
column.
/cc @godfat