authentik.providers.oauth2.migrations.0008_rename_rsa_key_oauth2provider_signing_key_and_more
1# Generated by Django 4.0 on 2021-12-22 21:04 2 3from django.db import migrations 4 5 6class Migration(migrations.Migration): 7 dependencies = [ 8 ( 9 "authentik_providers_oauth2", 10 "0007_auto_20201016_1107_squashed_0017_alter_oauth2provider_token_validity", 11 ), 12 ] 13 14 operations = [ 15 migrations.RenameField( 16 model_name="oauth2provider", 17 old_name="rsa_key", 18 new_name="signing_key", 19 ), 20 migrations.RemoveField( 21 model_name="oauth2provider", 22 name="jwt_alg", 23 ), 24 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 dependencies = [ 9 ( 10 "authentik_providers_oauth2", 11 "0007_auto_20201016_1107_squashed_0017_alter_oauth2provider_token_validity", 12 ), 13 ] 14 15 operations = [ 16 migrations.RenameField( 17 model_name="oauth2provider", 18 old_name="rsa_key", 19 new_name="signing_key", 20 ), 21 migrations.RemoveField( 22 model_name="oauth2provider", 23 name="jwt_alg", 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.