django-pyodbc-azure icon indicating copy to clipboard operation
django-pyodbc-azure copied to clipboard

AutoField at migration

Open ghost opened this issue 5 years ago • 3 comments

Does anyone have any initiative to support AutoField at migration?

Using Django and django-pyodbc-azure in the latest version.

ghost avatar Jun 10 '19 11:06 ghost

I am facing the same issue @lucasmellos. I am trying to use another open source library djnago_q in my Django app where I am using Microsoft SQL server for my Database requirements. When I am trying to run python manage.py migrate after installing djnago_q. I face the following error.

  raise NotImplementedError("the backend doesn't support altering from/to %s." % t.__name__)
NotImplementedError: the backend doesn't support altering from/to AutoField.

In django_q migration file, it is using AutoField.

Django version 2.1.8 Python version 3.6.8 @michiya Please see this issue.

AnkurBegining avatar Jun 11 '19 08:06 AnkurBegining

dakzh avatar Jun 21 '19 11:06 dakzh

Did you find the solution ?

samirpkrl avatar Jul 28 '20 09:07 samirpkrl