fix: temp test: folded column names to lowercase
This commit is contained in:
+1
-1
@@ -144,7 +144,7 @@ def migrate_db(file: str, schema: str, exclude_tables: List[str] = []):
|
|||||||
|
|
||||||
|
|
||||||
def build_insert_query(schema, tableName, columns):
|
def build_insert_query(schema, tableName, columns):
|
||||||
to_columns = ", ".join(map(lambda column: f'"{column[1]}"', columns))
|
to_columns = ", ".join(map(lambda column: f'"{column[1].lower()}"', columns))
|
||||||
values = ", ".join(map(lambda column: to_column_type(column[2]), columns))
|
values = ", ".join(map(lambda column: to_column_type(column[2]), columns))
|
||||||
return f"""
|
return f"""
|
||||||
INSERT INTO {schema}.{tableName}({to_columns})
|
INSERT INTO {schema}.{tableName}({to_columns})
|
||||||
|
|||||||
Reference in New Issue
Block a user