Commits

Fayaz Khan committed 10c3dc0

adding test for normal ForeignKeyConstraint(s)

Comments (0)

Files changed (1)

             'c', Base.metadata,
             #Column('id', Integer, primary_key=True, autoincrement=False),
             ImplicitForeignKeyConstraint(['id'], ['a.id'], primary_key=False)))
+    class D(Base):
+        __tablename__ = 'd'
+        id = Column(Integer, primary_key=True, autoincrement=False)
+        __table_args__ = (ForeignKeyConstraint(['id'], ['a.id']),)
+    t = (Table(
 
     Base.metadata.create_all()