authentik.tasks.schedules.migrations.0003_alter_schedule_managers

 1# Generated by Django 5.2.7 on 2025-10-18 15:47
 2
 3import psqlextra.manager.manager
 4from django.db import migrations
 5
 6
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_tasks_schedules", "0002_alter_schedule_identifier_and_more"),
11    ]
12
13    operations = [
14        migrations.AlterModelManagers(
15            name="schedule",
16            managers=[
17                ("objects", psqlextra.manager.manager.PostgresManager()),
18            ],
19        ),
20    ]
class Migration(django.db.migrations.migration.Migration):
 8class Migration(migrations.Migration):
 9
10    dependencies = [
11        ("authentik_tasks_schedules", "0002_alter_schedule_identifier_and_more"),
12    ]
13
14    operations = [
15        migrations.AlterModelManagers(
16            name="schedule",
17            managers=[
18                ("objects", psqlextra.manager.manager.PostgresManager()),
19            ],
20        ),
21    ]

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_tasks_schedules', '0002_alter_schedule_identifier_and_more')]
operations = [<AlterModelManagers name='schedule', managers=[('objects', <psqlextra.manager.manager.PostgresManager object>)]>]