Просмотр исходного кода

Renumber conflicting core migrations

#23724 and #23725 each added a core migration numbered 0029, leaving
two leaf nodes in the migration graph. Renumber the job migrations to
follow 0029_datasource_revision.
Jeremy Stretch 12 часов назад
Родитель
Сommit
6a04926e3e
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      netbox/core/migrations/0030_job_parent.py
  2. 1 1
      netbox/core/migrations/0031_job_lifetime.py

+ 1 - 1
netbox/core/migrations/0029_job_parent.py → netbox/core/migrations/0030_job_parent.py

@@ -7,7 +7,7 @@ from django.db import migrations, models
 class Migration(migrations.Migration):
 class Migration(migrations.Migration):
 
 
     dependencies = [
     dependencies = [
-        ('core', '0028_populate_job_access'),
+        ('core', '0029_datasource_revision'),
     ]
     ]
 
 
     operations = [
     operations = [

+ 1 - 1
netbox/core/migrations/0030_job_lifetime.py → netbox/core/migrations/0031_job_lifetime.py

@@ -7,7 +7,7 @@ class Migration(migrations.Migration):
 
 
     dependencies = [
     dependencies = [
         ('contenttypes', '0002_remove_content_type_name'),
         ('contenttypes', '0002_remove_content_type_name'),
-        ('core', '0029_job_parent'),
+        ('core', '0030_job_parent'),
         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
     ]
     ]