From: Mike Bayer Date: Thu, 15 Jun 2017 17:51:14 +0000 (-0400) Subject: - ensure String has a length for mysql compatibility X-Git-Tag: rel_1_2_0b1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9541e30e869e1ef90cbb2db97fb1e426893fd115;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - ensure String has a length for mysql compatibility Change-Id: Iaa1077ca5929bdc67300cc6bfb1ba98aff382246 --- diff --git a/test/orm/test_options.py b/test/orm/test_options.py index 053ba5e4b7..c0bc21a748 100644 --- a/test/orm/test_options.py +++ b/test/orm/test_options.py @@ -588,7 +588,7 @@ class FromSubclassOptionsTest(PathTest, fixtures.DeclarativeMappedTest): __tablename__ = 'basecls' id = Column(Integer, primary_key=True) - type = Column(String) + type = Column(String(30)) related_id = Column(ForeignKey('related.id')) related = relationship("Related")