From 73732b8a80e69a5e7234463a78c61a12c41e28e5 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 4 Apr 2007 23:06:39 +0000 Subject: - some cleanup of reflection unit tests - removed silly behavior where sqlite would reflect UNIQUE indexes as part of the primary key (?!) - added __contains__ support to ColumnCollection; contains_column() method should be removed --- lib/sqlalchemy/databases/sqlite.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/sqlalchemy/databases/sqlite.py') diff --git a/lib/sqlalchemy/databases/sqlite.py b/lib/sqlalchemy/databases/sqlite.py index 9270f2a5f..5140d865e 100644 --- a/lib/sqlalchemy/databases/sqlite.py +++ b/lib/sqlalchemy/databases/sqlite.py @@ -281,9 +281,6 @@ class SQLiteDialect(ansisql.ANSIDialect): break cols.append(row[2]) col = table.columns[row[2]] - # unique index that includes the pk is considered a multiple primary key - for col in cols: - table.primary_key.add(table.columns[col]) class SQLiteCompiler(ansisql.ANSICompiler): def visit_cast(self, cast): -- cgit v1.2.1