>
>
> On Wed, May 2, 2012 at 9:38 AM, Gaurav Gupta <[email protected]>wrote:
>
>> Guys,
>>
>> I need help in figuring out some quirks in Elixir. I have a very simple
>> schema (schema.py) with a simple ForeignKey relationship and a python
>> module (model.py), where I create 2 databases from the same schema (see the
>> code below). When I run model.py, I get the following error when it tries
>> to create the second database:
>> *Exception: 'Table2' resolves to several entities, you should use the
>> full path (including the full module name) to that entity.*
>>
>> I am unsure why this error happens. It appears that the two database are
>> sharing some state. What am I missing?
>>
>>
try calling  cleanup_all
http://elixir.ematia.de/trac/browser/elixir/tags/0.7.0/elixir/__init__.py#L78



also It seems wierd to me that you call setup_all before you connect the
DB, but if it works...

-- 
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en.

Reply via email to