From 2aa31006afd63c970c4165ab077bb258512659f8 Mon Sep 17 00:00:00 2001 From: Gytha Ogg Date: Thu, 13 Jun 2024 15:58:18 +0200 Subject: [PATCH] legacy fields cleanup --- .../migrations/0017_merge_20240613_1354.py | 15 +++++++++++++++ apis_ontology/models.py | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 apis_ontology/migrations/0017_merge_20240613_1354.py diff --git a/apis_ontology/migrations/0017_merge_20240613_1354.py b/apis_ontology/migrations/0017_merge_20240613_1354.py new file mode 100644 index 0000000..1551477 --- /dev/null +++ b/apis_ontology/migrations/0017_merge_20240613_1354.py @@ -0,0 +1,15 @@ +# Generated by Django 4.2.13 on 2024-06-13 13:54 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("apis_ontology", "0015_alter_instance_start_date_written_and_more"), + ( + "apis_ontology", + "0016_remove_instance_published_remove_person_published_and_more", + ), + ] + + operations = [] diff --git a/apis_ontology/models.py b/apis_ontology/models.py index d19f7c9..78bb5d9 100644 --- a/apis_ontology/models.py +++ b/apis_ontology/models.py @@ -301,7 +301,7 @@ class Excerpts(GenericModel, models.Model): ####################################################################################### -class TibScholRelationMixin(Relation, LegacyDateMixin): +class TibScholRelationMixin(Relation, LegacyDateMixin, GenericModel): CONFIDENCE = [ ("Positive", "Positive"), ("Uncertain", "Uncertain"),