authentik.core.migrations.0020_application_open_in_new_tab

 1# Generated by Django 4.0.5 on 2022-06-04 06:54
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7    dependencies = [
 8        ("authentik_core", "0019_application_group"),
 9    ]
10
11    operations = [
12        migrations.AddField(
13            model_name="application",
14            name="open_in_new_tab",
15            field=models.BooleanField(
16                default=False, help_text="Open launch URL in a new browser tab or window."
17            ),
18        ),
19    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8    dependencies = [
 9        ("authentik_core", "0019_application_group"),
10    ]
11
12    operations = [
13        migrations.AddField(
14            model_name="application",
15            name="open_in_new_tab",
16            field=models.BooleanField(
17                default=False, help_text="Open launch URL in a new browser tab or window."
18            ),
19        ),
20    ]

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', '0019_application_group')]
operations = [<AddField model_name='application', name='open_in_new_tab', field=<django.db.models.fields.BooleanField>>]