Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion piccolo/apps/fixtures/commands/dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ async def get_dump(
output[fixture_config.app_name] = {}

for table_class in sorted_table_classes:
data = await table_class.select().run()
data = await table_class.select().order_by(
table_class._meta.primary_key
)
output[fixture_config.app_name][table_class.__name__] = data

return output
Expand Down
Loading