id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
280,Removing a OneToOneField Tries to add ID before before removing old PK,ed@…,andrew,"If you remove a OneToOneField from a model, postgres produces the following error:

{{{
File ""c:\projects\wpf\eggs\django-1.0.2_final-py2.6.egg\django\db\backends\util.py"", line 19, in execute
    return self.cursor.execute(sql, params)
psycopg2.ProgrammingError: multiple primary keys for table ""edu_core_address"" are not allowed
}}}

Workaround is to change the order in the migration and move the drop  of the old PK before the add of the new PK (id). ",defect,closed,minor,0.7,commands,0.6.2,fixed,"OneToOneField, postgres",
