#1828: sqlreset forgets indexes
------------------------------+---------------------------------------------
 Reporter:  [EMAIL PROTECTED]     |        Owner:  adrian
     Type:  defect            |       Status:  new   
 Priority:  normal            |    Milestone:        
Component:  Database wrapper  |      Version:        
 Severity:  normal            |   Resolution:        
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by [EMAIL PROTECTED]):

 Yes, syncdb does not create indexes.  (In my case, I'm using MySQL).  I
 wasn't sure at first if it was supposed to, but the docs in tutorial one
 say that it should explicitly:
 
 The syncdb command runs the sql from 'sqlall' on your database for all
 apps in INSTALLED_APPS that don't already exist in your database. This
 creates all the tables, initial data and indexes for any apps you have
 added to your project since the last time you ran syncdb. syncdb can be
 called as often as you like, and it will only ever create the tables that
 don't exist.
 
 If you run ./manage.py install [model] it works but syncdb should be fixed
 to run the indexes.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/1828>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to