-
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Index fields used by
RepeaterManager.all_ready()
- Loading branch information
Showing
3 changed files
with
61 additions
and
11 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
corehq/motech/repeaters/migrations/0015_alter_repeater_is_paused_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("repeaters", "0014_repeater_max_workers"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="repeater", | ||
name="is_paused", | ||
field=models.BooleanField(db_index=True, default=False), | ||
), | ||
migrations.AlterField( | ||
model_name="repeater", | ||
name="next_attempt_at", | ||
field=models.DateTimeField(blank=True, db_index=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="repeatrecord", | ||
name="state", | ||
field=models.PositiveSmallIntegerField( | ||
choices=[ | ||
(1, "Pending"), | ||
(2, "Failed"), | ||
(4, "Succeeded"), | ||
(8, "Cancelled"), | ||
(16, "Empty"), | ||
(32, "Invalid Payload"), | ||
], | ||
db_index=True, | ||
default=1, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters