diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-06-15 13:51:14 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-06-15 13:51:14 -0400 |
| commit | 9541e30e869e1ef90cbb2db97fb1e426893fd115 (patch) | |
| tree | 27e4b8c3e9779ae3ae4c6303348b553fad5fd724 /test/orm/test_options.py | |
| parent | 770e1e399cb0c91db73a551e1962ccbb57f42e76 (diff) | |
| download | sqlalchemy-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.py | 2 |
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") |
