migrate gives SQL error on my DB backend

6 views
Skip to first unread message

Graeme Perrow

unread,
Jun 29, 2015, 10:50:44 AM6/29/15
to django...@googlegroups.com
I have a custom DB backend driver which works on everything from Django 1.1.4 to 1.7, and now I am trying to update it to support Django 1.8. I have seen this change regarding the base classes and I've made the appropriate import changes. When running a simple test (creating everything from scratch), I'm doing this:

python manage.py startapp test
<update various model/view files, add to settings.py, etc.>
python manage.py makemigrations test
python manage.py migrate

But when I do the migrate, I get a SQL error. It turns out that it's attempting to execute "create table "django_migrations" ( ). I thought that perhaps I don't need to do the migrate, but if I don't, I get the same error when I run "python manage.py runserver". I'm assuming that I've neglected to make some change to my driver but I'm not familiar enough with the migration stuff to know what it is I'm missing. Can anyone help?

Thanks
Graeme Perrow

Reply all
Reply to author
Forward
0 new messages