Hi All,

I have created a model with primary key, later i have removed the primary 
key and used default `id` as primary key

When i tried to migrate it is throwing error with multiple primary keys 
defined

Before running migrate i have executed on MySQL command interface

    "ALTER TABLE `table_name` DROP PRIMARY KEY;"


After this i re run the migrate. It executed perfectly.


Thanks
Ravi Teja N

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c1704bca-2c3a-4715-b507-8d250aa41960%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to