No superuser created on syncdb if database permission errors
|Reported by:||fergus.ferrier@…||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||0.96|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Ran manage.py syncdb - it completed some tasks but failed on ALTER TABLE statements as I'd forgotten some permissions for the DB user. Same again for indexes - fixed and re-ran.
Then, the app worked fine however at no point was I asked to set a superuser account and the auth_user table was empty.
Workaround: remove DB contents and start again with proper user permissions.