From 9541e30e869e1ef90cbb2db97fb1e426893fd115 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 15 Jun 2017 13:51:14 -0400 Subject: [PATCH] - ensure String has a length for mysql compatibility Change-Id: Iaa1077ca5929bdc67300cc6bfb1ba98aff382246 --- test/orm/test_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.47.2