Skip to content

Commit

Permalink
Bug related to SQLITE table restructuring fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jam-py committed Jul 26, 2018
1 parent 2bf80c5 commit 45212ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified demo/admin.sqlite
Binary file not shown.
2 changes: 1 addition & 1 deletion jam/__init__.py
@@ -1,4 +1,4 @@
VERSION = (5, 4, 15)
VERSION = (5, 4, 16)

def version():
global VERSION
Expand Down
2 changes: 1 addition & 1 deletion jam/sql.py
Expand Up @@ -789,7 +789,7 @@ def prepare_fields():
def change_table_sql(self, db_type, old_fields, new_fields):

def recreate(comp):
for key, (old_field, new_field) in comp.iteritems():
for key, (old_field, new_field) in iteritems(comp):
if old_field and new_field:
if old_field['field_name'] != new_field['field_name']:
return True
Expand Down

0 comments on commit 45212ed

Please sign in to comment.