apis_core.apis_relations.migrations package
Submodules
apis_core.apis_relations.migrations.0001_initial module
- class apis_core.apis_relations.migrations.0001_initial.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('apis_metainfo', '0002_auto_20220201_1241'), ('contenttypes', '0002_remove_content_type_name')]
- initial = True
- operations = [<CreateModel name='Property', fields=[('rootobject_ptr', <django.db.models.fields.related.OneToOneField>), ('name_forward', <django.db.models.fields.CharField>), ('name_reverse', <django.db.models.fields.CharField>), ('obj_class', <django.db.models.fields.related.ManyToManyField>), ('subj_class', <django.db.models.fields.related.ManyToManyField>)], bases=('apis_metainfo.rootobject',)>, <CreateModel name='Triple', fields=[('id', <django.db.models.fields.AutoField>), ('obj', <apis_core.apis_relations.models.InheritanceForeignKey>), ('prop', <django.db.models.fields.related.ForeignKey>), ('subj', <apis_core.apis_relations.models.InheritanceForeignKey>)]>, <CreateModel name='TempTriple', fields=[('triple_ptr', <django.db.models.fields.related.OneToOneField>), ('review', <django.db.models.fields.BooleanField>), ('start_date', <django.db.models.fields.DateField>), ('start_start_date', <django.db.models.fields.DateField>), ('start_end_date', <django.db.models.fields.DateField>), ('end_date', <django.db.models.fields.DateField>), ('end_start_date', <django.db.models.fields.DateField>), ('end_end_date', <django.db.models.fields.DateField>), ('start_date_written', <django.db.models.fields.CharField>), ('end_date_written', <django.db.models.fields.CharField>), ('status', <django.db.models.fields.CharField>), ('references', <django.db.models.fields.TextField>), ('notes', <django.db.models.fields.TextField>)], bases=('apis_relations.triple',)>]
apis_core.apis_relations.migrations.0002_property_property_class_uri module
apis_core.apis_relations.migrations.0003_auto_20230123_1715 module
apis_core.apis_relations.migrations.0004_auto_20230124_1201 module
- class apis_core.apis_relations.migrations.0004_auto_20230124_1201.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('apis_metainfo', '0003_auto_20220218_1530'), ('apis_relations', '0003_auto_20230123_1715')]
- operations = [<AlterField model_name='property', name='name_forward', field=<django.db.models.fields.CharField>>, <AlterField model_name='triple', name='obj', field=<apis_core.apis_relations.models.InheritanceForeignKey>>, <AlterField model_name='triple', name='prop', field=<django.db.models.fields.related.ForeignKey>>, <AlterField model_name='triple', name='subj', field=<apis_core.apis_relations.models.InheritanceForeignKey>>]
apis_core.apis_relations.migrations.0005_alter_property_obj_class_alter_property_subj_class module
- class apis_core.apis_relations.migrations.0005_alter_property_obj_class_alter_property_subj_class.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('contenttypes', '0002_remove_content_type_name'), ('apis_relations', '0004_auto_20230124_1201')]
- operations = [<AlterField model_name='property', name='obj_class', field=<django.db.models.fields.related.ManyToManyField>>, <AlterField model_name='property', name='subj_class', field=<django.db.models.fields.related.ManyToManyField>>]
apis_core.apis_relations.migrations.0006_versiontemptriple module
- class apis_core.apis_relations.migrations.0006_versiontemptriple.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('apis_metainfo', '0011_alter_rootobject_deprecated_name'), ('auth', '__first__'), ('apis_relations', '0005_alter_property_obj_class_alter_property_subj_class')]
- operations = [<CreateModel name='VersionTempTriple', fields=[('triple_ptr', <django.db.models.fields.related.ForeignKey>), ('id', <django.db.models.fields.IntegerField>), ('version_tag', <django.db.models.fields.CharField>), ('review', <django.db.models.fields.BooleanField>), ('start_date', <django.db.models.fields.DateField>), ('start_start_date', <django.db.models.fields.DateField>), ('start_end_date', <django.db.models.fields.DateField>), ('end_date', <django.db.models.fields.DateField>), ('end_start_date', <django.db.models.fields.DateField>), ('end_end_date', <django.db.models.fields.DateField>), ('start_date_written', <django.db.models.fields.CharField>), ('end_date_written', <django.db.models.fields.CharField>), ('status', <django.db.models.fields.CharField>), ('references', <django.db.models.fields.TextField>), ('notes', <django.db.models.fields.TextField>), ('history_id', <django.db.models.fields.AutoField>), ('history_date', <django.db.models.fields.DateTimeField>), ('history_change_reason', <django.db.models.fields.CharField>), ('history_type', <django.db.models.fields.CharField>), ('history_user', <django.db.models.fields.related.ForeignKey>), ('obj', <apis_core.apis_relations.models.InheritanceForeignKey>), ('prop', <django.db.models.fields.related.ForeignKey>), ('subj', <apis_core.apis_relations.models.InheritanceForeignKey>)], options={'verbose_name': 'Version', 'verbose_name_plural': 'Versions', 'ordering': ('-history_date', '-history_id'), 'get_latest_by': ('history_date', 'history_id')}, bases=(<class 'simple_history.models.HistoricalChanges'>, <class 'django.db.models.base.Model'>, <class 'apis_core.generic.abc.GenericModel'>)>]
apis_core.apis_relations.migrations.0007_alter_versiontemptriple_options module
- class apis_core.apis_relations.migrations.0007_alter_versiontemptriple_options.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('apis_relations', '0006_versiontemptriple')]
- operations = [<AlterModelOptions name='versiontemptriple', options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical temp triple', 'verbose_name_plural': 'historical temp triples'}>]