Little fix in dbadmin

This commit is contained in:
Antonio de la Rosa 2016-01-20 17:30:51 +01:00
parent 44e3fe474f
commit 4c449fe2a7

View file

@ -117,7 +117,10 @@ def start():
for table in new_tables:
print(Style.NORMAL+"--Creating table "+table+"...")
WebModel.query(WebModel, WebModel.model[table].create_table())
print("--Adding indexes and constraints for the new table")
for table in new_tables:
print("--Adding indexes and constraints for the new table "+table)
for k_field, index in WebModel.arr_sql_index[table].items():
print("---Added index to "+k_field)