authentik.enterprise.endpoints.connectors.google_chrome.migrations.0001_initial
1# Generated by Django 5.2.11 on 2026-03-01 18:38 2 3import django.db.models.deletion 4from django.db import migrations, models 5 6 7class Migration(migrations.Migration): 8 9 initial = True 10 11 dependencies = [ 12 ("authentik_endpoints", "0004_deviceaccessgroup_attributes"), 13 ] 14 15 operations = [ 16 migrations.CreateModel( 17 name="GoogleChromeConnector", 18 fields=[ 19 ( 20 "connector_ptr", 21 models.OneToOneField( 22 auto_created=True, 23 on_delete=django.db.models.deletion.CASCADE, 24 parent_link=True, 25 primary_key=True, 26 serialize=False, 27 to="authentik_endpoints.connector", 28 ), 29 ), 30 ("credentials", models.JSONField()), 31 ], 32 options={ 33 "verbose_name": "Google Device Trust Connector", 34 "verbose_name_plural": "Google Device Trust Connectors", 35 }, 36 bases=("authentik_endpoints.connector",), 37 ), 38 ]
class
Migration(django.db.migrations.migration.Migration):
8class Migration(migrations.Migration): 9 10 initial = True 11 12 dependencies = [ 13 ("authentik_endpoints", "0004_deviceaccessgroup_attributes"), 14 ] 15 16 operations = [ 17 migrations.CreateModel( 18 name="GoogleChromeConnector", 19 fields=[ 20 ( 21 "connector_ptr", 22 models.OneToOneField( 23 auto_created=True, 24 on_delete=django.db.models.deletion.CASCADE, 25 parent_link=True, 26 primary_key=True, 27 serialize=False, 28 to="authentik_endpoints.connector", 29 ), 30 ), 31 ("credentials", models.JSONField()), 32 ], 33 options={ 34 "verbose_name": "Google Device Trust Connector", 35 "verbose_name_plural": "Google Device Trust Connectors", 36 }, 37 bases=("authentik_endpoints.connector",), 38 ), 39 ]
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.
operations =
[<CreateModel name='GoogleChromeConnector', fields=[('connector_ptr', <django.db.models.fields.related.OneToOneField>), ('credentials', <django.db.models.fields.json.JSONField>)], options={'verbose_name': 'Google Device Trust Connector', 'verbose_name_plural': 'Google Device Trust Connectors'}, bases=('authentik_endpoints.connector',)>]