authentik.providers.rac.migrations.0003_alter_connectiontoken_options_and_more
1# Generated by Django 5.0.1 on 2024-02-11 19:04 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ("authentik_providers_rac", "0002_endpoint_maximum_connections"), 10 ] 11 12 operations = [ 13 migrations.AlterModelOptions( 14 name="connectiontoken", 15 options={ 16 "verbose_name": "RAC Connection token", 17 "verbose_name_plural": "RAC Connection tokens", 18 }, 19 ), 20 migrations.AddField( 21 model_name="racprovider", 22 name="delete_token_on_disconnect", 23 field=models.BooleanField( 24 default=False, 25 help_text="When set to true, connection tokens will be deleted upon disconnect.", 26 ), 27 ), 28 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_providers_rac", "0002_endpoint_maximum_connections"), 11 ] 12 13 operations = [ 14 migrations.AlterModelOptions( 15 name="connectiontoken", 16 options={ 17 "verbose_name": "RAC Connection token", 18 "verbose_name_plural": "RAC Connection tokens", 19 }, 20 ), 21 migrations.AddField( 22 model_name="racprovider", 23 name="delete_token_on_disconnect", 24 field=models.BooleanField( 25 default=False, 26 help_text="When set to true, connection tokens will be deleted upon disconnect.", 27 ), 28 ), 29 ]
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.