I had to set some defaults to None where there were Foreign keys, which means:
a submission can a default of None for a Project
and a Project can have an empty team associated with it
This is because the database was complaining with:
It is impossible to add a non-nullable field 'project' to submission without specifying a default. This is because the database needs something to populate existing rows.
Please select a fix:
1) Provide a one-off default now (will be set on all existing rows with a null value for this column)
2) Quit and manually define a default value in models.py.
I added a fixme note in case we want to have a default team or anything like this 🤔 But I believe this can be discussed in the following steps
Fixes #2
I had to set some defaults to None where there were Foreign keys, which means:
This is because the database was complaining with:
I added a fixme note in case we want to have a default team or anything like this 🤔 But I believe this can be discussed in the following steps