sortinghat.core.migrations package

Submodules

sortinghat.core.migrations.0001_initial module

sortinghat.core.migrations.0002_log module

class sortinghat.core.migrations.0002_log.Migration(name, app_label)[source]

Bases: django.db.migrations.migration.Migration

dependencies = [('core', '0001_initial')]
operations = [<CreateModel  name='Operation', fields=[('ouid', <django.db.models.fields.CharField>), ('op_type', <django.db.models.fields.CharField>), ('entity_type', <django.db.models.fields.CharField>), ('target', <django.db.models.fields.CharField>), ('timestamp', <django.db.models.fields.DateTimeField>), ('args', <django.db.models.fields.json.JSONField>)], options={'db_table': 'operations', 'ordering': ('timestamp', 'ouid', 'trx')}>, <CreateModel  name='Transaction', fields=[('tuid', <django.db.models.fields.CharField>), ('name', <django.db.models.fields.CharField>), ('created_at', <django.db.models.fields.DateTimeField>), ('closed_at', <django.db.models.fields.DateTimeField>), ('is_closed', <django.db.models.fields.BooleanField>)], options={'db_table': 'transactions', 'ordering': ('created_at', 'tuid')}>, <AlterModelOptions  name='enrollment', options={'ordering': ('start', 'end')}>, <AlterField  model_name='enrollment', name='end', field=<django.db.models.fields.DateTimeField>>, <AlterField  model_name='enrollment', name='start', field=<django.db.models.fields.DateTimeField>>, <AddField  model_name='operation', name='trx', field=<django.db.models.fields.related.ForeignKey>>]

sortinghat.core.migrations.0003_context module

class sortinghat.core.migrations.0003_context.Migration(name, app_label)[source]

Bases: django.db.migrations.migration.Migration

dependencies = [('core', '0002_log')]
operations = [<AddField  model_name='transaction', name='authored_by', field=<django.db.models.fields.CharField>>, <AlterField  model_name='operation', name='trx', field=<django.db.models.fields.related.ForeignKey>, preserve_default=False>]

sortinghat.core.migrations.0004_lock module

class sortinghat.core.migrations.0004_lock.Migration(name, app_label)[source]

Bases: django.db.migrations.migration.Migration

dependencies = [('core', '0003_context')]
operations = [<AddField  model_name='uniqueidentity', name='is_locked', field=<django.db.models.fields.BooleanField>>]

sortinghat.core.migrations.0005_individuals module

class sortinghat.core.migrations.0005_individuals.Migration(name, app_label)[source]

Bases: django.db.migrations.migration.Migration

dependencies = [('core', '0004_lock')]
operations = [<RenameModel  old_name='UniqueIdentity', new_name='Individual'>, <AlterModelTable  name='individual', table='individuals'>]

sortinghat.core.migrations.0006_uidentity module

class sortinghat.core.migrations.0006_uidentity.Migration(name, app_label)[source]

Bases: django.db.migrations.migration.Migration

dependencies = [('core', '0005_individuals')]
operations = [<RenameField  model_name='enrollment', old_name='uidentity', new_name='individual'>, <RenameField  model_name='identity', old_name='uidentity', new_name='individual'>, <RenameField  model_name='profile', old_name='uidentity', new_name='individual'>, <AlterUniqueTogether  name='enrollment', unique_together={('individual', 'organization', 'start', 'end')}>]

sortinghat.core.migrations.0007_rename_uuid_to_mk module

class sortinghat.core.migrations.0007_rename_uuid_to_mk.Migration(name, app_label)[source]

Bases: django.db.migrations.migration.Migration

dependencies = [('core', '0006_uidentity')]
operations = [<RenameField  model_name='individual', old_name='uuid', new_name='mk'>, <AlterField  model_name='enrollment', name='individual', field=<django.db.models.fields.related.ForeignKey>>, <AlterField  model_name='identity', name='individual', field=<django.db.models.fields.related.ForeignKey>>, <AlterField  model_name='profile', name='individual', field=<django.db.models.fields.related.OneToOneField>>]

sortinghat.core.migrations.0008_rename_id_to_uuid module

class sortinghat.core.migrations.0008_rename_id_to_uuid.Migration(name, app_label)[source]

Bases: django.db.migrations.migration.Migration

dependencies = [('core', '0007_rename_uuid_to_mk')]
operations = [<RenameField  model_name='identity', old_name='id', new_name='uuid'>]

sortinghat.core.migrations.0009_replace_django_mysql module

class sortinghat.core.migrations.0009_replace_django_mysql.Migration(name, app_label)[source]

Bases: django.db.migrations.migration.Migration

dependencies = [('core', '0008_rename_id_to_uuid')]
operations = [<AlterModelOptions  name='individual', options={'ordering': ('last_modified', 'created_at', 'profile__name')}>, <AlterField  model_name='operation', name='args', field=<django.db.models.fields.json.JSONField>>]

Module contents