summaryrefslogtreecommitdiff
path: root/test/orm/test_options.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-06-15 13:51:14 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-06-15 13:51:14 -0400
commit9541e30e869e1ef90cbb2db97fb1e426893fd115 (patch)
tree27e4b8c3e9779ae3ae4c6303348b553fad5fd724 /test/orm/test_options.py
parent770e1e399cb0c91db73a551e1962ccbb57f42e76 (diff)
downloadsqlalchemy-9541e30e869e1ef90cbb2db97fb1e426893fd115.tar.gz
- ensure String has a length for mysql compatibility
Change-Id: Iaa1077ca5929bdc67300cc6bfb1ba98aff382246
Diffstat (limited to 'test/orm/test_options.py')
-rw-r--r--test/orm/test_options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/test_options.py b/test/orm/test_options.py
index 053ba5e4b..c0bc21a74 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")