apis_core.collections.migrations package
Submodules
apis_core.collections.migrations.0001_initial module
- class apis_core.collections.migrations.0001_initial.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('contenttypes', '0002_remove_content_type_name')]
- initial = True
- operations = [<CreateModel name='SkosCollection', fields=[('id', <django.db.models.fields.AutoField>), ('name', <django.db.models.fields.CharField>), ('label_lang', <django.db.models.fields.CharField>), ('creator', <django.db.models.fields.TextField>), ('contributor', <django.db.models.fields.TextField>), ('parent', <django.db.models.fields.related.ForeignKey>)]>, <CreateModel name='SkosCollectionContentObject', fields=[('id', <django.db.models.fields.AutoField>), ('object_id', <django.db.models.fields.PositiveIntegerField>), ('collection', <django.db.models.fields.related.ForeignKey>), ('content_type', <django.db.models.fields.related.ForeignKey>)]>]
apis_core.collections.migrations.0002_alter_skoscollection_options module
apis_core.collections.migrations.0003_skoscollection_unique_name_parent_and_more module
- class apis_core.collections.migrations.0003_skoscollection_unique_name_parent_and_more.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('collections', '0002_alter_skoscollection_options')]
- operations = [<AddConstraint model_name='skoscollection', constraint=<UniqueConstraint: fields=('name', 'parent') name='unique_name_parent' nulls_distinct=False violation_error_message='The combination of name and parent collection must be unique'>>, <AddConstraint model_name='skoscollection', constraint=<CheckConstraint: condition=(NOT (AND: ('name__contains', '|'))) name='check_name_pipe' violation_error_message='The name must not contain the pipe symbol: |'>>]