authentik.tenants.migrations.0007_tenant_pagination_default_page_size_and_more
1# Generated by Django 5.2.8 on 2025-12-10 03:33 2 3from django.db import migrations, models 4 5 6class Migration(migrations.Migration): 7 8 dependencies = [ 9 ("authentik_tenants", "0006_tenant_flags"), 10 ] 11 12 operations = [ 13 migrations.AddField( 14 model_name="tenant", 15 name="pagination_default_page_size", 16 field=models.PositiveIntegerField( 17 default=20, 18 help_text="Default page size for API responses, if no size was requested.", 19 ), 20 ), 21 migrations.AddField( 22 model_name="tenant", 23 name="pagination_max_page_size", 24 field=models.PositiveIntegerField(default=100, help_text="Maximum page size"), 25 ), 26 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 9 dependencies = [ 10 ("authentik_tenants", "0006_tenant_flags"), 11 ] 12 13 operations = [ 14 migrations.AddField( 15 model_name="tenant", 16 name="pagination_default_page_size", 17 field=models.PositiveIntegerField( 18 default=20, 19 help_text="Default page size for API responses, if no size was requested.", 20 ), 21 ), 22 migrations.AddField( 23 model_name="tenant", 24 name="pagination_max_page_size", 25 field=models.PositiveIntegerField(default=100, help_text="Maximum page size"), 26 ), 27 ]
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.