authentik.sources.saml.migrations.0011_auto_20210324_0736
1# Generated by Django 3.1.7 on 2021-03-24 07:36 2 3import django.db.models.deletion 4from django.db import migrations, models 5 6 7class Migration(migrations.Migration): 8 dependencies = [ 9 ("authentik_flows", "0016_auto_20201202_1307"), 10 ("authentik_sources_saml", "0010_samlsource_pre_authentication_flow"), 11 ] 12 13 operations = [ 14 migrations.AlterField( 15 model_name="samlsource", 16 name="pre_authentication_flow", 17 field=models.ForeignKey( 18 help_text="Flow used before authentication.", 19 on_delete=django.db.models.deletion.CASCADE, 20 related_name="source_pre_authentication", 21 to="authentik_flows.flow", 22 ), 23 ), 24 ]
class
Migration(django.db.migrations.migration.Migration):
8class Migration(migrations.Migration): 9 dependencies = [ 10 ("authentik_flows", "0016_auto_20201202_1307"), 11 ("authentik_sources_saml", "0010_samlsource_pre_authentication_flow"), 12 ] 13 14 operations = [ 15 migrations.AlterField( 16 model_name="samlsource", 17 name="pre_authentication_flow", 18 field=models.ForeignKey( 19 help_text="Flow used before authentication.", 20 on_delete=django.db.models.deletion.CASCADE, 21 related_name="source_pre_authentication", 22 to="authentik_flows.flow", 23 ), 24 ), 25 ]
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.