authentik.core.migrations.0047_delete_oldauthenticatedsession

 1# Generated by Django 5.0.11 on 2025-01-27 13:02
 2
 3from django.db import migrations
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("authentik_core", "0046_session_and_more"),
10        ("authentik_providers_rac", "0007_migrate_session"),
11        ("authentik_providers_oauth2", "0028_migrate_session"),
12    ]
13
14    operations = [
15        migrations.DeleteModel(
16            name="OldAuthenticatedSession",
17        ),
18    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_core", "0046_session_and_more"),
11        ("authentik_providers_rac", "0007_migrate_session"),
12        ("authentik_providers_oauth2", "0028_migrate_session"),
13    ]
14
15    operations = [
16        migrations.DeleteModel(
17            name="OldAuthenticatedSession",
18        ),
19    ]

The base class for all migrations.

Migration files will import this from django.db.migrations.Migration and subclass it as a class called Migration. It will have one or more of the following attributes:

  • operations: A list of Operation instances, probably from django.db.migrations.operations
  • dependencies: A list of tuples of (app_path, migration_name)
  • run_before: A list of tuples of (app_path, migration_name)
  • replaces: A list of migration_names

Note that all migrations come out of migrations and into the Loader or Graph as instances, having been initialized with their app label and name.

dependencies = [('authentik_core', '0046_session_and_more'), ('authentik_providers_rac', '0007_migrate_session'), ('authentik_providers_oauth2', '0028_migrate_session')]
operations = [<DeleteModel name='OldAuthenticatedSession'>]