From 113f647cc611bc78771c86ac6446af12e49014b1 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 13 Jan 2006 01:43:23 +0000 Subject: [PATCH] column arguments converted to integer --- lib/sqlalchemy/databases/sqlite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/databases/sqlite.py b/lib/sqlalchemy/databases/sqlite.py index 49630b9ed3..9ada952ca0 100644 --- a/lib/sqlalchemy/databases/sqlite.py +++ b/lib/sqlalchemy/databases/sqlite.py @@ -140,7 +140,7 @@ class SQLiteSQLEngine(ansisql.ANSISQLEngine): if args is not None: args = re.findall(r'(\d+)', args) #print "args! " +repr(args) - coltype = coltype(*args) + coltype = coltype(*[int(a) for a in args]) table.append_item(schema.Column(name, coltype, primary_key = primary_key, nullable = nullable)) c = self.execute("PRAGMA foreign_key_list(" + table.name + ")", {}) while True: -- 2.47.2