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