Ignore:
Timestamp:
22/12/11 17:33:24 (8 years ago)
Author:
mnagni
Message:

Again uncompleted deployment in DB. Tomorrow have to check better the primaryjoins!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/xmi2sqlalchemy/trunk/src/main/resources/velocity/python/association.vm

    r8027 r8040  
    44#set ($totalName = "${rn}_${ln}") 
    55${totalName}_table = Table('${totalName}', metadata, 
    6 ${tab}Column('left_node_id', Integer, ForeignKey(${rn}_table.c.${rn}_id)), 
    7 ${tab}Column('right_node_id', Integer, ForeignKey(${ln}_table.c.${ln}_id)) 
     6${tab}Column('left_node_id', Integer, ForeignKey(${rn}_table.c.id)), 
     7${tab}Column('right_node_id', Integer, ForeignKey(${ln}_table.c.id)) 
    88) 
Note: See TracChangeset for help on using the changeset viewer.