Skip to content
Snippets Groups Projects
Commit 9266139f authored by jvfpw18's avatar jvfpw18
Browse files

Fix creation without columns in table definitions

parent 1a720900
No related branches found
No related tags found
1 merge request!13v1.1.0
......@@ -347,7 +347,7 @@ class DatabaseTable(Table):
column[0] = column[0].strip()
column_dict[column[0]] = [column[1], self._protocol.target_from_dbcolumn(column[0])]
if not ignore_diff:
if not ignore_diff and tdef_columns:
for c_name, c_type in tdef_columns.items():
if c_name not in column_dict.keys():
prompt = input("The column {} is not present on the mapping protocol but is on the table definition,"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment