rvinzent / django-dynamic-models

Dynamic Django models allow users to define, edit, and populate their own database schema.
MIT License
158 stars 47 forks source link

fix: add migrations #74

Open ramwin opened 12 months ago

ramwin commented 12 months ago

Django use BigAutoField as primary key now.

ramwin commented 11 months ago

@rvinzent Could you review this pull request?

rvinzent commented 10 months ago

@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'.

ramwin commented 10 months ago

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