From: Mike Bayer Date: Fri, 19 Sep 2008 13:59:16 +0000 (+0000) Subject: the wisdom of SQLite accepting strings for columns with the INT type....priceless X-Git-Tag: rel_0_5rc2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e395c05b9ac6ec5da8329c29c3b8939e3d642e2c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git the wisdom of SQLite accepting strings for columns with the INT type....priceless --- diff --git a/test/orm/relationships.py b/test/orm/relationships.py index 549bb0c169..037df35fb2 100644 --- a/test/orm/relationships.py +++ b/test/orm/relationships.py @@ -607,13 +607,13 @@ class RelationTest6(_base.MappedTest): def define_tables(self, metadata): Table('tags', metadata, Column("id", Integer, primary_key=True), - Column("data", Integer), + Column("data", String(50)), ) Table('tag_foo', metadata, Column("id", Integer, primary_key=True), Column('tagid', Integer), - Column("data", Integer), + Column("data", String(50)), ) @testing.resolve_artifact_names