RegioHelden / django-scrubber

Anonymizer for Django database data
Other
25 stars 10 forks source link

Fixed bug with missing migrations on "DEFAULT_AUTO_FIELD" #52

Closed GitRon closed 1 year ago

GitRon commented 1 year ago

Hi @lociii & @costela

when your project has a DEFAULT_AUTO_FIELD set to != DEFAULT_AUTO_FIELD = "django.db.models.AutoField", running makemigrations will create a migration. Setting this field type in the apps.py (which is django default to have one), fixes that.

Best
Ronny

lociii commented 1 year ago

Makes sense. Thanks. Will merge and release later this week. Not close to a PC right now.

GitRon commented 1 year ago

Hi @lociii! Did you already merge this branch? Saw the new release earlier today...

Best. Ronny

lociii commented 1 year ago

Oops. Thought I merged before. I'll take care tomorrow.

lociii commented 1 year ago

1.2.2 released. Sorry for the inconvenience.

GitRon commented 1 year ago

No worries! Thx for the release!