authentik.brands.migrations.0010_brand_client_certificates_and_more
1# Generated by Django 5.1.9 on 2025-05-19 15:09 2 3import django.db.models.deletion 4from django.db import migrations, models 5 6 7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_brands", "0009_brand_branding_default_flow_background"), 11 ("authentik_crypto", "0004_alter_certificatekeypair_name"), 12 ] 13 14 operations = [ 15 migrations.AddField( 16 model_name="brand", 17 name="client_certificates", 18 field=models.ManyToManyField( 19 blank=True, 20 default=None, 21 help_text="Certificates used for client authentication.", 22 to="authentik_crypto.certificatekeypair", 23 ), 24 ), 25 migrations.AlterField( 26 model_name="brand", 27 name="web_certificate", 28 field=models.ForeignKey( 29 default=None, 30 help_text="Web Certificate used by the authentik Core webserver.", 31 null=True, 32 on_delete=django.db.models.deletion.SET_DEFAULT, 33 related_name="+", 34 to="authentik_crypto.certificatekeypair", 35 ), 36 ), 37 ]
class
Migration(django.db.migrations.migration.Migration):
8class Migration(migrations.Migration): 9 10 dependencies = [ 11 ("authentik_brands", "0009_brand_branding_default_flow_background"), 12 ("authentik_crypto", "0004_alter_certificatekeypair_name"), 13 ] 14 15 operations = [ 16 migrations.AddField( 17 model_name="brand", 18 name="client_certificates", 19 field=models.ManyToManyField( 20 blank=True, 21 default=None, 22 help_text="Certificates used for client authentication.", 23 to="authentik_crypto.certificatekeypair", 24 ), 25 ), 26 migrations.AlterField( 27 model_name="brand", 28 name="web_certificate", 29 field=models.ForeignKey( 30 default=None, 31 help_text="Web Certificate used by the authentik Core webserver.", 32 null=True, 33 on_delete=django.db.models.deletion.SET_DEFAULT, 34 related_name="+", 35 to="authentik_crypto.certificatekeypair", 36 ), 37 ), 38 ]
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.