Changeset 508 for elixir/trunk/elixir

Show
Ignore:
Timestamp:
10/16/09 10:42:55 (3 years ago)
Author:
ged
Message:

use public accessor introduced in SA 0.5

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/elixir/entity.py

    r507 r508  
    266266                            self.add_column(col.copy()) 
    267267 
    268                     #FIXME: use the public equivalent of _get_colspec when 
    269                     # available (e.target_fullname) 
    270268                    for con in self.parent._descriptor.constraints: 
    271269                        self.add_constraint( 
    272270                            ForeignKeyConstraint( 
    273271                                [e.parent.key for e in con.elements], 
    274                                 [e._get_colspec() for e in con.elements], 
     272                                [e.target_fullname for e in con.elements], 
    275273                                name=con.name, #TODO: modify it 
    276274                                onupdate=con.onupdate, ondelete=con.ondelete,