I have a typical Django app using MySQL.

I've decided to change a model and make some fields unique=True
AFTER tables and data exist in MySQL.

I noticed that "python manage.py syncdb" doesn't automatically modify
MySQL
database to make desired fields unique now.

Is there some MySQL command line equivalent?
Preferably there is a way to do this from Django shell or other way?

Sincerely,

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to