sio2project / oioioi

GNU General Public License v3.0
160 stars 70 forks source link

Fix oi migration #366

Closed dawidratynski closed 2 months ago

dawidratynski commented 2 months ago

Old migration in OI app removed two db tables from Django models without deleting them from the db. As they contained non-nullable foreign keys, the db couldn't be flushed.

This pull request changes said columns to be nullable, fixing the issue without deleting any data from the db.

Full description in issue #352 description.

Closes issue #352