authentik.crypto.migrations.0005_alter_certificatekeypair_options
1# Generated by Django 5.2.8 on 2025-11-20 14:50 2 3from django.db import migrations 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ("authentik_crypto", "0004_alter_certificatekeypair_name"), 10 ] 11 12 operations = [ 13 migrations.AlterModelOptions( 14 name="certificatekeypair", 15 options={ 16 "permissions": [ 17 ( 18 "view_certificatekeypair_certificate", 19 "View Certificate-Key pair's certificate", 20 ), 21 ("view_certificatekeypair_key", "View Certificate-Key pair's private key"), 22 ], 23 "verbose_name": "Certificate-Key Pair", 24 "verbose_name_plural": "Certificate-Key Pairs", 25 }, 26 ), 27 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_crypto", "0004_alter_certificatekeypair_name"), 11 ] 12 13 operations = [ 14 migrations.AlterModelOptions( 15 name="certificatekeypair", 16 options={ 17 "permissions": [ 18 ( 19 "view_certificatekeypair_certificate", 20 "View Certificate-Key pair's certificate", 21 ), 22 ("view_certificatekeypair_key", "View Certificate-Key pair's private key"), 23 ], 24 "verbose_name": "Certificate-Key Pair", 25 "verbose_name_plural": "Certificate-Key Pairs", 26 }, 27 ), 28 ]
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.
operations =
[<AlterModelOptions name='certificatekeypair', options={'permissions': [('view_certificatekeypair_certificate', "View Certificate-Key pair's certificate"), ('view_certificatekeypair_key', "View Certificate-Key pair's private key")], 'verbose_name': 'Certificate-Key Pair', 'verbose_name_plural': 'Certificate-Key Pairs'}>]