mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00:00
Rename process lock migration and add a reverse migration step
This commit is contained in:
@@ -9,7 +9,7 @@ class Migration(migrations.Migration):
|
|||||||
ProcessLock.objects.all().delete()
|
ProcessLock.objects.all().delete()
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
("database", "0040_merge_20240504_1010"),
|
("database", "0039_merge_20240501_0301"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
@@ -22,5 +22,5 @@ class Migration(migrations.Migration):
|
|||||||
unique=True,
|
unique=True,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
migrations.RunPython(delete_all_existing_process_locks),
|
migrations.RunPython(delete_all_existing_process_locks, reverse_code=migrations.RunPython.noop),
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user