|
@@ -234,7 +234,7 @@ class MigrationCleaning:
|
|
columns = db.get_column_names(tablename=self._inconsist_report_table)
|
|
columns = db.get_column_names(tablename=self._inconsist_report_table)
|
|
|
|
|
|
if len(columns) > 0:
|
|
if len(columns) > 0:
|
|
- columns_not_in_data = [column for column in colunmns if column not in data.columns]
|
|
|
|
|
|
+ columns_not_in_data = [column for column in columns if column not in data.columns]
|
|
data_inconsist[columns_not_in_data] = 'Column does not exist in the mongo database and has therefore been dropped'
|
|
data_inconsist[columns_not_in_data] = 'Column does not exist in the mongo database and has therefore been dropped'
|
|
data_inconsist = data_inconsist[columns]
|
|
data_inconsist = data_inconsist[columns]
|
|
|
|
|