Issue 106 in django-evolution: missing "_id" suffix when referencing multi-table-inherited class

3 views
Skip to first unread message

codesite...@google.com

unread,
Sep 9, 2009, 9:40:19 AM9/9/09
to django-evolu...@googlegroups.com
Status: New
Owner: ----

New issue 106 by jan.ostrochovsky: missing "_id" suffix when referencing
multi-table-inherited class
http://code.google.com/p/django-evolution/issues/detail?id=106

Full description of the issue is here:
http://groups.google.com/group/django-evolution/browse_thread/thread/cd0eb66ca4492a54#

What steps will reproduce the problem?
1. create model class
2. add second model class, multi-table-inherited from first class
3. add third model class, ForeignKey-referencing second class

What is the expected output? What do you see instead?
Error applying evolution: column "accountingdocument_ptr" referenced in
foreign key constraint does not exist

What version of the product are you using? On what operating system? What
database backend?
Django 1.1, Django Evolution r166, Linux Ubuntu 9.04, PostgreSQL 8.3

Please provide any additional information below.
Manually repaired and then applying this procedure:
http://sharpe-s-django.blogspot.com/2009/09/how-to-reset-django-evolution-of.html.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply all
Reply to author
Forward
0 new messages