Commits

Mike Bayer committed 17553e3

fix errant foreign key

  • Participants
  • Parent commits cd08715

Comments (0)

Files changed (1)

File test/ext/declarative.py

 
         class Engineer(Person):
             __mapper_args__ = {'polymorphic_identity':'engineer'}
-            primary_language_id = Column(String(50), ForeignKey('languages.id'))
+            primary_language_id = Column(Integer, ForeignKey('languages.id'))
             primary_language = relation("Language")
             
         class Language(Base, ComparableEntity):