authentik.providers.oauth2.migrations.0005_auto_20200920_1240
1# Generated by Django 3.1.1 on 2020-09-20 12:40 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 dependencies = [ 8 ( 9 "authentik_providers_oauth2", 10 "0004_remove_oauth2provider_post_logout_redirect_uris", 11 ), 12 ] 13 14 operations = [ 15 migrations.AlterField( 16 model_name="oauth2provider", 17 name="response_type", 18 field=models.TextField( 19 choices=[ 20 ("code", "code (Authorization Code Flow)"), 21 ("id_token", "id_token (Implicit Flow)"), 22 ("id_token token", "id_token token (Implicit Flow)"), 23 ("code token", "code token (Hybrid Flow)"), 24 ("code id_token", "code id_token (Hybrid Flow)"), 25 ("code id_token token", "code id_token token (Hybrid Flow)"), 26 ], 27 default="code", 28 help_text="Response Type required by the client.", 29 ), 30 ), 31 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 dependencies = [ 9 ( 10 "authentik_providers_oauth2", 11 "0004_remove_oauth2provider_post_logout_redirect_uris", 12 ), 13 ] 14 15 operations = [ 16 migrations.AlterField( 17 model_name="oauth2provider", 18 name="response_type", 19 field=models.TextField( 20 choices=[ 21 ("code", "code (Authorization Code Flow)"), 22 ("id_token", "id_token (Implicit Flow)"), 23 ("id_token token", "id_token token (Implicit Flow)"), 24 ("code token", "code token (Hybrid Flow)"), 25 ("code id_token", "code id_token (Hybrid Flow)"), 26 ("code id_token token", "code id_token token (Hybrid Flow)"), 27 ], 28 default="code", 29 help_text="Response Type required by the client.", 30 ), 31 ), 32 ]
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.