From e105841a68b889cff7dcb6a6df371c087b96646b Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Thu, 11 Jan 2024 21:46:36 +0100 Subject: [PATCH] Fix migrations --- .../0015_add_managed_by_app_label.py | 96 ------------------- ...014_lessonevent.py => 0016_lessonevent.py} | 3 +- 2 files changed, 1 insertion(+), 98 deletions(-) delete mode 100644 aleksis/apps/chronos/migrations/0015_add_managed_by_app_label.py rename aleksis/apps/chronos/migrations/{0014_lessonevent.py => 0016_lessonevent.py} (97%) diff --git a/aleksis/apps/chronos/migrations/0015_add_managed_by_app_label.py b/aleksis/apps/chronos/migrations/0015_add_managed_by_app_label.py deleted file mode 100644 index d4906fcd..00000000 --- a/aleksis/apps/chronos/migrations/0015_add_managed_by_app_label.py +++ /dev/null @@ -1,96 +0,0 @@ -# Generated by Django 4.2.3 on 2023-07-27 13:35 - -import aleksis.core.managers -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('sites', '0002_alter_domain_unique'), - ('chronos', '0014_lessonevent'), - ] - - operations = [ - migrations.AddField( - model_name='absence', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='absencereason', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='break', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='event', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='exam', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='extralesson', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='holiday', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='lesson', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='lessonperiod', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='lessonsubstitution', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='subject', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='supervision', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='supervisionarea', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='supervisionsubstitution', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='timeperiod', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - migrations.AddField( - model_name='validityrange', - name='managed_by_app_label', - field=models.CharField(blank=True, editable=False, max_length=255, verbose_name='App label of app responsible for managing this instance'), - ), - ] diff --git a/aleksis/apps/chronos/migrations/0014_lessonevent.py b/aleksis/apps/chronos/migrations/0016_lessonevent.py similarity index 97% rename from aleksis/apps/chronos/migrations/0014_lessonevent.py rename to aleksis/apps/chronos/migrations/0016_lessonevent.py index 7b0e0cba..a89abc89 100644 --- a/aleksis/apps/chronos/migrations/0014_lessonevent.py +++ b/aleksis/apps/chronos/migrations/0016_lessonevent.py @@ -6,10 +6,9 @@ import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ - ("sites", "0002_alter_domain_unique"), ("core", "0051_calendarevent_and_holiday"), ("cursus", "0001_initial"), - ("chronos", "0013_move_room_to_core"), + ("chronos", "0015_drop_site"), ] operations = [ -- GitLab