Changeset 508 for elixir/trunk/elixir
- Timestamp:
- 10/16/09 10:42:55 (3 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/elixir/entity.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/elixir/entity.py
r507 r508 266 266 self.add_column(col.copy()) 267 267 268 #FIXME: use the public equivalent of _get_colspec when269 # available (e.target_fullname)270 268 for con in self.parent._descriptor.constraints: 271 269 self.add_constraint( 272 270 ForeignKeyConstraint( 273 271 [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], 275 273 name=con.name, #TODO: modify it 276 274 onupdate=con.onupdate, ondelete=con.ondelete,
