heliport.core.migrations package
Submodules
heliport.core.migrations.0001_initial module
- class heliport.core.migrations.0001_initial.Migration(name, app_label)
Bases:
Migration
- dependencies = [('auth', '__first__')]
- initial = True
- operations = [<CreateModel name='DigitalObject', fields=[('digital_object_id', <django.db.models.fields.AutoField>), ('handle', <django.db.models.fields.CharField>), ('generated_handle', <django.db.models.fields.CharField>), ('category', <django.db.models.fields.TextField>), ('label', <django.db.models.fields.TextField>), ('description', <django.db.models.fields.TextField>), ('created', <django.db.models.fields.DateTimeField>), ('deleted', <django.db.models.fields.DateTimeField>), ('permission', <django.db.models.fields.IntegerField>), ('special_heliport_role', <django.db.models.fields.CharField>)]>, <CreateModel name='Group', fields=[('group_id', <django.db.models.fields.CharField>)]>, <CreateModel name='HeliportGroup', fields=[('group_id', <django.db.models.fields.AutoField>), ('group_name', <django.db.models.fields.TextField>)]>, <CreateModel name='HeliportUser', fields=[('user_id', <django.db.models.fields.AutoField>), ('authentication_backend_id', <django.db.models.fields.CharField>), ('display_name', <django.db.models.fields.CharField>), ('orcid', <django.db.models.fields.CharField>), ('auth_user', <django.db.models.fields.related.OneToOneField>)]>, <CreateModel name='LoginInfo', fields=[('login_info_id', <django.db.models.fields.AutoField>), ('username', <django.db.models.fields.CharField>), ('password', <django.db.models.fields.CharField>), ('key', <django.db.models.fields.TextField>), ('machine', <django.db.models.fields.CharField>), ('name', <django.db.models.fields.CharField>), ('type', <django.db.models.fields.CharField>), ('data', <django.db.models.fields.TextField>), ('slurm', <django.db.models.fields.BooleanField>), ('user', <django.db.models.fields.related.ForeignKey>), ('via', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='DigitalObjectRelation', fields=[('digital_object_relation_id', <django.db.models.fields.AutoField>), ('object', <django.db.models.fields.related.ForeignKey>), ('predicate', <django.db.models.fields.related.ForeignKey>), ('subject', <django.db.models.fields.related.ForeignKey>)]>, <AddField model_name='digitalobject', name='co_owners', field=<django.db.models.fields.related.ManyToManyField>>, <AddField model_name='digitalobject', name='heliport_groups', field=<django.db.models.fields.related.ManyToManyField>>, <AddField model_name='digitalobject', name='owner', field=<django.db.models.fields.related.ForeignKey>>, <CreateModel name='Project', fields=[('digitalobject_ptr', <django.db.models.fields.related.OneToOneField>), ('project_id', <django.db.models.fields.AutoField>), ('hzdr_id', <django.db.models.fields.CharField>), ('uuid', <django.db.models.fields.UUIDField>), ('original_id', <django.db.models.fields.CharField>), ('group', <django.db.models.fields.related.ForeignKey>)], bases=('core.digitalobject',)>, <AddField model_name='digitalobject', name='projects', field=<django.db.models.fields.related.ManyToManyField>>]
heliport.core.migrations.0002_auto_20220224_1552 module
- class heliport.core.migrations.0002_auto_20220224_1552.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0001_initial')]
- operations = [<RenameField model_name='digitalobject', old_name='generated_handle', new_name='generated_persistent_id'>, <RenameField model_name='digitalobject', old_name='handle', new_name='persistent_id'>]
heliport.core.migrations.0003_image module
- class heliport.core.migrations.0003_image.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0002_auto_20220224_1552')]
- operations = [<CreateModel name='Image', fields=[('digitalobject_ptr', <django.db.models.fields.related.OneToOneField>), ('directory', <django.db.models.fields.TextField>), ('filename', <django.db.models.fields.TextField>), ('login', <django.db.models.fields.related.ForeignKey>)], bases=('core.digitalobject',)>]
heliport.core.migrations.0004_auto_20220314_1014 module
- class heliport.core.migrations.0004_auto_20220314_1014.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0003_image')]
- operations = [<AddField model_name='image', name='message', field=<django.db.models.fields.TextField>>, <AddField model_name='image', name='replace_if_exists', field=<django.db.models.fields.BooleanField>>, <AddField model_name='image', name='status', field=<django.db.models.fields.IntegerField>>]
heliport.core.migrations.0005_logininfo_encrypted_password module
heliport.core.migrations.0006_auto_20220322_1052 module
- class heliport.core.migrations.0006_auto_20220322_1052.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0005_logininfo_encrypted_password')]
- operations = [<RunPython <function encrypt_passwords>, <function decrypt_passwords>>]
- heliport.core.migrations.0006_auto_20220322_1052.decrypt_passwords(apps, schema_editor)
- heliport.core.migrations.0006_auto_20220322_1052.encrypt_passwords(apps, schema_editor)
heliport.core.migrations.0007_remove_logininfo_password module
heliport.core.migrations.0008_rebuild_group_model module
- class heliport.core.migrations.0008_rebuild_group_model.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0007_remove_logininfo_password')]
- operations = [<RenameModel old_name='Group', new_name='GroupOld'>, <CreateModel name='Group', fields=[('group_id', <django.db.models.fields.AutoField>), ('backend_id', <django.db.models.fields.CharField>), ('display_name', <django.db.models.fields.CharField>)]>, <RunPython <function copy_groups>>, <RenameField model_name='project', old_name='group', new_name='group_name'>, <AlterField model_name='project', name='group_name', field=<django.db.models.fields.CharField>>, <AddField model_name='project', name='group', field=<django.db.models.fields.related.ForeignKey>>, <RunPython <function update_project_groups>>, <RunPython <function sync_from_ldap>>, <RemoveField model_name='project', name='group_name'>, <DeleteModel name='GroupOld'>]
- heliport.core.migrations.0008_rebuild_group_model.copy_groups(apps, schema_editor)
- heliport.core.migrations.0008_rebuild_group_model.sync_from_ldap(apps, schema_editor)
- heliport.core.migrations.0008_rebuild_group_model.update_project_groups(apps, schema_editor)
heliport.core.migrations.0009_heliportuser_affiliation_contribution module
- class heliport.core.migrations.0009_heliportuser_affiliation_contribution.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0008_rebuild_group_model')]
- operations = [<AddField model_name='heliportuser', name='affiliation', field=<django.db.models.fields.CharField>>, <CreateModel name='Contribution', fields=[('contribution_id', <django.db.models.fields.AutoField>), ('contribution_to', <django.db.models.fields.related.ForeignKey>), ('contributor', <django.db.models.fields.related.ForeignKey>)]>, <AddConstraint model_name='contribution', constraint=<UniqueConstraint: fields=('contributor', 'contribution_to') name='unique_digital_object_contribution'>>]
heliport.core.migrations.0010_contribution_type module
heliport.core.migrations.0011_set_digitalobject_role module
- class heliport.core.migrations.0011_set_digitalobject_role.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0010_contribution_type')]
- operations = [<RunPython <function set_special_heliport_role>, <function unset_special_heliport_role>>]
- heliport.core.migrations.0011_set_digitalobject_role.build_set_role_command(model)
- heliport.core.migrations.0011_set_digitalobject_role.set_special_heliport_role(apps, schema_editor)
- heliport.core.migrations.0011_set_digitalobject_role.unset_special_heliport_role(apps, schema_editor)
heliport.core.migrations.0012_auto_20220401_1204 module
- class heliport.core.migrations.0012_auto_20220401_1204.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0011_set_digitalobject_role')]
- operations = [<AddField model_name='contribution', name='uuid', field=<django.db.models.fields.UUIDField>>, <AddField model_name='heliportuser', name='email_is_public', field=<django.db.models.fields.BooleanField>>, <AddField model_name='heliportuser', name='email_sha1_is_public', field=<django.db.models.fields.BooleanField>>, <AddField model_name='heliportuser', name='uuid', field=<django.db.models.fields.UUIDField>>, <AlterField model_name='digitalobject', name='special_heliport_role', field=<django.db.models.fields.CharField>>]
heliport.core.migrations.0013_timelineconfiguration module
- class heliport.core.migrations.0013_timelineconfiguration.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0012_auto_20220401_1204')]
- operations = [<CreateModel name='TimelineConfiguration', fields=[('timeline_id', <django.db.models.fields.AutoField>), ('show_timeline', <django.db.models.fields.BooleanField>), ('project', <django.db.models.fields.related.OneToOneField>)]>]
heliport.core.migrations.0014_tag module
- class heliport.core.migrations.0014_tag.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0013_timelineconfiguration')]
- operations = [<CreateModel name='Tag', fields=[('digitalobject_ptr', <django.db.models.fields.related.OneToOneField>), ('tag_id', <django.db.models.fields.AutoField>), ('hex_color', <django.db.models.fields.CharField>), ('last_use_date', <django.db.models.fields.DateTimeField>), ('attribute', <django.db.models.fields.related.ForeignKey>), ('requires_type', <django.db.models.fields.related.ForeignKey>), ('value', <django.db.models.fields.related.ForeignKey>)], bases=('core.digitalobject',)>]
heliport.core.migrations.0015_digitalobject_last_modified module
heliport.core.migrations.0016_insert_core_vocabulary module
- class heliport.core.migrations.0016_insert_core_vocabulary.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0015_digitalobject_last_modified')]
- operations = [<RunPython <function insert_core_vocabulary>, <function Migration.<lambda>>>]
- heliport.core.migrations.0016_insert_core_vocabulary.build_set_attributes_for_role(model)
- heliport.core.migrations.0016_insert_core_vocabulary.build_set_type(relation_model, type_obj, the_type)
- heliport.core.migrations.0016_insert_core_vocabulary.insert_core_vocabulary(apps, schema_editor)
heliport.core.migrations.0017_digitalobjectrelation_is_public_and_more module
- class heliport.core.migrations.0017_digitalobjectrelation_is_public_and_more.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0016_insert_core_vocabulary')]
- operations = [<AddField model_name='digitalobjectrelation', name='is_public', field=<django.db.models.fields.BooleanField>>, <AddField model_name='digitalobjectrelation', name='special_heliport_role', field=<django.db.models.fields.CharField>>, <CreateModel name='DigitalObjectAttributes', fields=[('digital_object_attribute_id', <django.db.models.fields.AutoField>), ('value', <django.db.models.fields.TextField>), ('is_public', <django.db.models.fields.BooleanField>), ('special_heliport_role', <django.db.models.fields.CharField>), ('predicate', <django.db.models.fields.related.ForeignKey>), ('subject', <django.db.models.fields.related.ForeignKey>)]>, <AddConstraint model_name='digitalobjectattributes', constraint=<UniqueConstraint: fields=('subject', 'predicate', 'special_heliport_role') name='unique_special_attributes_per_subject' condition=(AND: ('special_heliport_role__isnull', False))>>]
heliport.core.migrations.0018_digitalobject_description_is_public_and_more module
- class heliport.core.migrations.0018_digitalobject_description_is_public_and_more.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0017_digitalobjectrelation_is_public_and_more')]
- operations = [<AddField model_name='digitalobject', name='description_is_public', field=<django.db.models.fields.BooleanField>>, <AddField model_name='digitalobject', name='label_is_public', field=<django.db.models.fields.BooleanField>>, <AddField model_name='digitalobject', name='members_is_public', field=<django.db.models.fields.BooleanField>>, <AddField model_name='digitalobject', name='projects_is_public', field=<django.db.models.fields.BooleanField>>, <AddField model_name='image', name='download_url_is_public', field=<django.db.models.fields.BooleanField>>, <AddField model_name='project', name='parts_is_public', field=<django.db.models.fields.BooleanField>>]
heliport.core.migrations.0019_digitalobject_last_modified_is_public module
- class heliport.core.migrations.0019_digitalobject_last_modified_is_public.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0018_digitalobject_description_is_public_and_more')]
- operations = [<AddField model_name='digitalobject', name='last_modified_is_public', field=<django.db.models.fields.BooleanField>>]
heliport.core.migrations.0020_namedtoken module
- class heliport.core.migrations.0020_namedtoken.Migration(name, app_label)
Bases:
Migration
- dependencies = [('knox', '0008_remove_authtoken_salt'), ('core', '0019_digitalobject_last_modified_is_public')]
- operations = [<CreateModel name='NamedToken', fields=[('token_id', <django.db.models.fields.AutoField>), ('name', <django.db.models.fields.TextField>), ('auth_token', <django.db.models.fields.related.OneToOneField>)]>]
heliport.core.migrations.0021_digitalobject_is_helper module
heliport.core.migrations.0022_delete_timelineconfiguration module
heliport.core.migrations.0023_alter_digitalobject_projects module
- class heliport.core.migrations.0023_alter_digitalobject_projects.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0022_delete_timelineconfiguration')]
- operations = [<AlterField model_name='digitalobject', name='projects', field=<django.db.models.fields.related.ManyToManyField>>]
heliport.core.migrations.0024_remove_digitalobject_heliport_groups_and_more module
- class heliport.core.migrations.0024_remove_digitalobject_heliport_groups_and_more.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0023_alter_digitalobject_projects')]
- operations = [<RemoveField model_name='digitalobject', name='heliport_groups'>, <DeleteModel name='HeliportGroup'>]
heliport.core.migrations.0025_rename_group_heliportgroup module
heliport.core.migrations.0026_heliportgroup_auth_group module
- class heliport.core.migrations.0026_heliportgroup_auth_group.Migration(name, app_label)
Bases:
Migration
- dependencies = [('auth', '0012_alter_user_first_name_max_length'), ('core', '0025_rename_group_heliportgroup')]
- operations = [<AddField model_name='heliportgroup', name='auth_group', field=<django.db.models.fields.related.OneToOneField>>]
heliport.core.migrations.0027_heliportuser_stored_email module
heliport.core.migrations.0028_alter_heliportuser_email_sha1_is_public_and_more module
- class heliport.core.migrations.0028_alter_heliportuser_email_sha1_is_public_and_more.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0027_heliportuser_stored_email')]
- operations = [<AlterField model_name='heliportuser', name='email_sha1_is_public', field=<django.db.models.fields.BooleanField>>, <AlterField model_name='heliportuser', name='stored_email', field=<django.db.models.fields.EmailField>>]
heliport.core.migrations.0029_alter_heliportuser_orcid module
- class heliport.core.migrations.0029_alter_heliportuser_orcid.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0028_alter_heliportuser_email_sha1_is_public_and_more')]
- operations = [<AlterField model_name='heliportuser', name='orcid', field=<django.db.models.fields.CharField>>]
heliport.core.migrations.0030_digitalobjectidentifier module
- class heliport.core.migrations.0030_digitalobjectidentifier.Migration(name, app_label)
Bases:
Migration
- dependencies = [('core', '0029_alter_heliportuser_orcid')]
- operations = [<CreateModel name='DigitalObjectIdentifier', fields=[('digital_object_identifier_id', <django.db.models.fields.AutoField>), ('type', <django.db.models.fields.TextField>), ('immutable', <django.db.models.fields.BooleanField>), ('identifier', <django.db.models.fields.TextField>), ('display_text', <django.db.models.fields.TextField>), ('digital_object', <django.db.models.fields.related.ForeignKey>)]>]