authentik.events.migrations.0003_rename_tenant_event_brand
1# Generated by Django 4.2.7 on 2023-11-06 18:58 2 3from django.db import migrations 4 5 6class Migration(migrations.Migration): 7 dependencies = [ 8 ("authentik_events", "0002_alter_notificationtransport_mode"), 9 ] 10 11 operations = [ 12 migrations.RenameField( 13 model_name="event", 14 old_name="tenant", 15 new_name="brand", 16 ), 17 ]
class
Migration(django.db.migrations.migration.Migration):
7class Migration(migrations.Migration): 8 dependencies = [ 9 ("authentik_events", "0002_alter_notificationtransport_mode"), 10 ] 11 12 operations = [ 13 migrations.RenameField( 14 model_name="event", 15 old_name="tenant", 16 new_name="brand", 17 ), 18 ]
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.