This line in one of the migrations is resulting in a empty Dataset being created whenever ./manage.py migrate is run. This is needed because that migration was making a nullable field of an existing model non-nullable; because of this every existing nullable field had to be set to something, so this dummy dataset is created for that purpose. This can be confusing for downstream projects when an empty dataset appears after running migrations.
This PR squashes migrations so that this field can just be non-nullable from the start and not require creating a dataset.
This line in one of the migrations is resulting in a empty
Dataset
being created whenever./manage.py migrate
is run. This is needed because that migration was making a nullable field of an existing model non-nullable; because of this every existing nullable field had to be set to something, so this dummy dataset is created for that purpose. This can be confusing for downstream projects when an empty dataset appears after running migrations.This PR squashes migrations so that this field can just be non-nullable from the start and not require creating a dataset.