authentik.sources.oauth.migrations.0002_auto_20200520_1108
1# Generated by Django 3.0.6 on 2020-05-20 11:08 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 dependencies = [ 8 ("authentik_sources_oauth", "0001_initial"), 9 ] 10 11 operations = [ 12 migrations.AlterField( 13 model_name="oauthsource", 14 name="access_token_url", 15 field=models.CharField( 16 help_text="URL used by authentik to retrieve tokens.", 17 max_length=255, 18 verbose_name="Access Token URL", 19 ), 20 ), 21 migrations.AlterField( 22 model_name="oauthsource", 23 name="request_token_url", 24 field=models.CharField( 25 blank=True, 26 help_text=( 27 "URL used to request the initial token. This URL is only required for OAuth 1." 28 ), 29 max_length=255, 30 verbose_name="Request Token URL", 31 ), 32 ), 33 migrations.AlterField( 34 model_name="oauthsource", 35 name="authorization_url", 36 field=models.CharField( 37 help_text="URL the user is redirect to to conest the flow.", 38 max_length=255, 39 verbose_name="Authorization URL", 40 ), 41 ), 42 migrations.AlterField( 43 model_name="oauthsource", 44 name="profile_url", 45 field=models.CharField( 46 help_text="URL used by authentik to get user information.", 47 max_length=255, 48 verbose_name="Profile URL", 49 ), 50 ), 51 migrations.AlterModelOptions( 52 name="oauthsource", 53 options={ 54 "verbose_name": "OAuth Source", 55 "verbose_name_plural": "OAuth Sources", 56 }, 57 ), 58 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 dependencies = [ 9 ("authentik_sources_oauth", "0001_initial"), 10 ] 11 12 operations = [ 13 migrations.AlterField( 14 model_name="oauthsource", 15 name="access_token_url", 16 field=models.CharField( 17 help_text="URL used by authentik to retrieve tokens.", 18 max_length=255, 19 verbose_name="Access Token URL", 20 ), 21 ), 22 migrations.AlterField( 23 model_name="oauthsource", 24 name="request_token_url", 25 field=models.CharField( 26 blank=True, 27 help_text=( 28 "URL used to request the initial token. This URL is only required for OAuth 1." 29 ), 30 max_length=255, 31 verbose_name="Request Token URL", 32 ), 33 ), 34 migrations.AlterField( 35 model_name="oauthsource", 36 name="authorization_url", 37 field=models.CharField( 38 help_text="URL the user is redirect to to conest the flow.", 39 max_length=255, 40 verbose_name="Authorization URL", 41 ), 42 ), 43 migrations.AlterField( 44 model_name="oauthsource", 45 name="profile_url", 46 field=models.CharField( 47 help_text="URL used by authentik to get user information.", 48 max_length=255, 49 verbose_name="Profile URL", 50 ), 51 ), 52 migrations.AlterModelOptions( 53 name="oauthsource", 54 options={ 55 "verbose_name": "OAuth Source", 56 "verbose_name_plural": "OAuth Sources", 57 }, 58 ), 59 ]
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 =
[<AlterField model_name='oauthsource', name='access_token_url', field=<django.db.models.fields.CharField>>, <AlterField model_name='oauthsource', name='request_token_url', field=<django.db.models.fields.CharField>>, <AlterField model_name='oauthsource', name='authorization_url', field=<django.db.models.fields.CharField>>, <AlterField model_name='oauthsource', name='profile_url', field=<django.db.models.fields.CharField>>, <AlterModelOptions name='oauthsource', options={'verbose_name': 'OAuth Source', 'verbose_name_plural': 'OAuth Sources'}>]