>
> option 3 is the closest one since references between keyed tables *must* 
> use tablename.fieldname,
> but migrate=False should be added to each table unless it is specified in 
> the DB definition.
>
> A small clarification

m_dsc_cards - is a legacy table, it can't be changed,
of course 'migrate=False, fake_migrate=True' are set
a primary key is cardid, type is varchar(32)

m_dsc_clients - is not a legacy table and defined in db.py, 
and it must have a reference to m_dsc_cards by m_dsc_cards.cardid

The result of either an exception or the wrong type of field

How can I solve the point?

(sorry for bad english)

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to