mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Rename process lock migration and add a reverse migration step
This commit is contained in:
parent
509a8a412c
commit
88daa841fd
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ class Migration(migrations.Migration):
|
|||
ProcessLock.objects.all().delete()
|
||||
|
||||
dependencies = [
|
||||
("database", "0040_merge_20240504_1010"),
|
||||
("database", "0039_merge_20240501_0301"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
@ -22,5 +22,5 @@ class Migration(migrations.Migration):
|
|||
unique=True,
|
||||
),
|
||||
),
|
||||
migrations.RunPython(delete_all_existing_process_locks),
|
||||
migrations.RunPython(delete_all_existing_process_locks, reverse_code=migrations.RunPython.noop),
|
||||
]
|
Loading…
Add table
Reference in a new issue