Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
update migrationscript
Browse files Browse the repository at this point in the history
  • Loading branch information
MacWale committed Mar 1, 2022
1 parent 4419579 commit 9cac6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/documents/migrations/1017_document_expired.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def add_schedules(apps, schema_editor):
schedule('documents.tasks.remove_expired_documents', name="Remove Expired Documents", schedule_type=Schedule.DAILY)

def remove_schedules(apps, schema_editor):
schedule.objects.filter(func='documents.tasks.remove_expired_documents').delete()
Schedule.objects.filter(func='documents.tasks.remove_expired_documents').delete()

dependencies = [
('documents', '1016_auto_20210317_1351'),
Expand Down

0 comments on commit 9cac6d5

Please sign in to comment.