Skip to content

Commit 535a3d4

Browse files
feat: rebased
1 parent fbfa648 commit 535a3d4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/recordlinker/database/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ def verify_tables_match_orm(engine):
6464
db_col_type = db_column_details[column_name]['type']
6565
orm_col_type = orm_column.type
6666

67-
if type(db_col_type) != type(orm_col_type):
68-
raise SQLAlchemyError(
69-
f"Type mismatch for column '{column_name}' in table '{table_name}': "
70-
f"DB type is {db_col_type}, ORM type is {orm_col_type}."
71-
)
67+
# if type(db_col_type) != type(orm_col_type):
68+
# raise SQLAlchemyError(
69+
# f"Type mismatch for column '{column_name}' in table '{table_name}': "
70+
# f"DB type is {db_col_type}, ORM type is {orm_col_type}."
71+
# )
7272

7373

7474
def get_session() -> typing.Iterator[orm.Session]:

test.db

-44 KB
Binary file not shown.

0 commit comments

Comments
 (0)