Skip to content

Commit 617588d

Browse files
authored
Merge pull request #5 from VBobCat/patch-2
Update 0001_initial.py to add ordering meta options to HueySchedule a…
2 parents f7105ac + 90f7f19 commit 617588d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

huey_django_orm/migrations/0001_initial.py

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class Migration(migrations.Migration):
3030
('timestamp', models.DateTimeField(blank=True, null=True)),
3131
('created', models.DateTimeField(auto_now_add=True, null=True)),
3232
],
33+
options={'ordering': ('timestamp',)},
3334
),
3435
migrations.CreateModel(
3536
name='HueyTask',
@@ -40,5 +41,6 @@ class Migration(migrations.Migration):
4041
('priority', models.DecimalField(blank=True, decimal_places=4, max_digits=5, null=True)),
4142
('created', models.DateTimeField(auto_now_add=True, null=True)),
4243
],
44+
options={'ordering': ('-priority', 'id')},
4345
),
4446
]

0 commit comments

Comments
 (0)