From: Mike Bayer Date: Fri, 4 Aug 2006 23:39:11 +0000 (+0000) Subject: added reflected 'tinyint' type to MS-SQL [ticket:263] X-Git-Tag: rel_0_2_7~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=110eb68e1a67447ab35f8d20493188ae85dfc180;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git added reflected 'tinyint' type to MS-SQL [ticket:263] --- diff --git a/CHANGES b/CHANGES index 8d49e4d844..ddc0a6f0c1 100644 --- a/CHANGES +++ b/CHANGES @@ -18,6 +18,7 @@ reflection. overflow counter should only be decremented if the connection actually succeeded. added a test script to attempt testing this. - fixed mysql reflection of default values to be PassiveDefault +- added reflected 'tinyint' type to MS-SQL [ticket:263] 0.2.6 - big overhaul to schema to allow truly composite primary and foreign diff --git a/lib/sqlalchemy/databases/mssql.py b/lib/sqlalchemy/databases/mssql.py index 6613009fc1..38699a8a52 100644 --- a/lib/sqlalchemy/databases/mssql.py +++ b/lib/sqlalchemy/databases/mssql.py @@ -174,6 +174,7 @@ colspecs = { ischema_names = { 'int' : MSInteger, 'smallint' : MSSmallInteger, + 'tinyint' : MSSmallInteger, 'varchar' : MSString, 'char' : MSChar, 'text' : MSText,