Small fixes

This commit is contained in:
Joseph Schorr 2016-01-29 20:01:17 +02:00
parent b557deaa0e
commit 1536709c02
2 changed files with 3 additions and 2 deletions

View file

@ -30,7 +30,7 @@ def gen_sqlalchemy_metadata(peewee_model_list):
all_indexes = set(meta.indexes)
columns = []
for field in meta.get_fields():
for field in meta.sorted_fields:
alchemy_type = None
col_args = []
col_kwargs = {}