django-dynamic-models icon indicating copy to clipboard operation
django-dynamic-models copied to clipboard

fix: add migrations

Open ramwin opened this issue 2 years ago • 3 comments

Django use BigAutoField as primary key now.

ramwin avatar Nov 10 '23 15:11 ramwin

@rvinzent Could you review this pull request?

ramwin avatar Nov 27 '23 08:11 ramwin

@ramwin Thanks for the contribution! Can we also address this lint failure?

HINT: Configure the DEFAULT_AUTO_FIELD setting or the DynamicModelsConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.

rvinzent avatar Dec 16 '23 08:12 rvinzent

I added the DEFAULT_AUTO_FIELD config, how can I test it and restart the workflows?

ramwin avatar Dec 17 '23 07:12 ramwin