authentik.admin.migrations.0002_alter_systemsettings_base_url
1# Generated by Django 5.2.17 on 2026-09-30 08:15 2 3import authentik.lib.models 4from django.db import migrations, models 5 6 7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_admin", "0001_initial"), 11 ] 12 13 operations = [ 14 migrations.AlterField( 15 model_name="systemsettings", 16 name="base_url", 17 field=models.TextField( 18 default="", 19 help_text="Configure the base URL under which this authentik instance is reachable, e.g. https://authentik.company", 20 validators=[ 21 authentik.lib.models.DomainlessURLValidator( 22 message="Enter a valid URL, for example https://authentik.company", 23 schemes=("http", "https"), 24 ) 25 ], 26 ), 27 ), 28 ]
class
Migration(django.db.migrations.migration.Migration):
8class Migration(migrations.Migration): 9 10 dependencies = [ 11 ("authentik_admin", "0001_initial"), 12 ] 13 14 operations = [ 15 migrations.AlterField( 16 model_name="systemsettings", 17 name="base_url", 18 field=models.TextField( 19 default="", 20 help_text="Configure the base URL under which this authentik instance is reachable, e.g. https://authentik.company", 21 validators=[ 22 authentik.lib.models.DomainlessURLValidator( 23 message="Enter a valid URL, for example https://authentik.company", 24 schemes=("http", "https"), 25 ) 26 ], 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.