We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbfa648 commit 535a3d4Copy full SHA for 535a3d4
src/recordlinker/database/__init__.py
@@ -64,11 +64,11 @@ def verify_tables_match_orm(engine):
64
db_col_type = db_column_details[column_name]['type']
65
orm_col_type = orm_column.type
66
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
- )
+ # if type(db_col_type) != type(orm_col_type):
+ # raise SQLAlchemyError(
+ # f"Type mismatch for column '{column_name}' in table '{table_name}': "
+ # f"DB type is {db_col_type}, ORM type is {orm_col_type}."
+ # )
72
73
74
def get_session() -> typing.Iterator[orm.Session]:
test.db
-44 KB
0 commit comments