My original models like this

class A(models.Model):
    data = models.CharField(max_length=30)

class B(models.Model):
    pass

Make migrations, then I modified the artitecture

class A(models.Model):
    data = models.CharField(max_length=30)

class B(models.Model):
    pass

Make migration and migrate.

get the error:

  File 
"/..../lib/python3.4/site-packages/django/db/backends/sqlite3/base.py", 
line 323, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: near ")": syntax error

Is it a bug?

Env:
django 1.10.1

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d57bd9ed-ecce-4ecc-b2c6-cea3d32e69ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to