Merge "Python 3: sort tables by their full name"
This commit is contained in:
commit
273e9eaf37
@ -91,7 +91,7 @@ def upgrade(migrate_engine):
|
||||
)
|
||||
|
||||
tables = [meter, project, resource, user, source, sourceassoc]
|
||||
for i in sorted(tables):
|
||||
for i in sorted(tables, key=lambda table: table.fullname):
|
||||
i.create()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user