Skip to content

Commit

Permalink
Merge pull request #216 from acdh-oeaw/211-remodel-relations
Browse files Browse the repository at this point in the history
211 remodel relations
  • Loading branch information
gythaogg authored Dec 4, 2024
2 parents 188108c + 4b5789c commit c1e286c
Show file tree
Hide file tree
Showing 13 changed files with 636 additions and 143 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Generated by Django 5.1.3 on 2024-12-04 11:04

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
("apis_ontology", "0031_versioninstancecopiedwrittendownatplace_and_more"),
]

operations = [
migrations.RemoveField(
model_name="versionpersoneditorofinstance",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersoneditorofinstance",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersoneditorofinstance",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersoneditorofinstance",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonEditorOfInstance",
),
migrations.DeleteModel(
name="VersionPersonEditorOfInstance",
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated by Django 5.1.3 on 2024-12-04 11:07

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0032_remove_versionpersoneditorofinstance_history_user_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="versionpersonillustratorofinstance",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersonillustratorofinstance",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersonillustratorofinstance",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersonillustratorofinstance",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonIllustratorOfInstance",
),
migrations.DeleteModel(
name="VersionPersonIllustratorOfInstance",
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated by Django 5.1.3 on 2024-12-04 11:08

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0033_remove_versionpersonillustratorofinstance_history_user_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="versionpersonlenderofinstance",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersonlenderofinstance",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersonlenderofinstance",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersonlenderofinstance",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonLenderOfInstance",
),
migrations.DeleteModel(
name="VersionPersonLenderOfInstance",
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated by Django 5.1.3 on 2024-12-04 11:09

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0034_remove_versionpersonlenderofinstance_history_user_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="versionpersonspiritualfriendofperson",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersonspiritualfriendofperson",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersonspiritualfriendofperson",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersonspiritualfriendofperson",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonSpiritualFriendOfPerson",
),
migrations.DeleteModel(
name="VersionPersonSpiritualFriendOfPerson",
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated by Django 5.1.3 on 2024-12-04 11:11

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0035_remove_versionpersonspiritualfriendofperson_history_user_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="versionpersonpromoterofwork",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersonpromoterofwork",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersonpromoterofwork",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersonpromoterofwork",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonPromoterOfWork",
),
migrations.DeleteModel(
name="VersionPersonPromoterOfWork",
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated by Django 5.1.3 on 2024-12-04 11:12

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0036_remove_versionpersonpromoterofwork_history_user_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="versionpersonpatronofperson",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersonpatronofperson",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersonpatronofperson",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersonpatronofperson",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonPatronOfPerson",
),
migrations.DeleteModel(
name="VersionPersonPatronOfPerson",
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated by Django 5.1.3 on 2024-12-04 11:13

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0037_remove_versionpersonpatronofperson_history_user_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="versionpersonfellowstudentofperson",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersonfellowstudentofperson",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersonfellowstudentofperson",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersonfellowstudentofperson",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonFellowStudentOfPerson",
),
migrations.DeleteModel(
name="VersionPersonFellowStudentOfPerson",
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated by Django 5.1.3 on 2024-12-04 11:14

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0038_remove_versionpersonfellowstudentofperson_history_user_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="versionpersonauntmaternalpaternalofperson",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersonauntmaternalpaternalofperson",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersonauntmaternalpaternalofperson",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersonauntmaternalpaternalofperson",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonAuntMaternalPaternalOfPerson",
),
migrations.DeleteModel(
name="VersionPersonAuntMaternalPaternalOfPerson",
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated by Django 5.1.3 on 2024-12-04 11:15

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0039_remove_versionpersonauntmaternalpaternalofperson_history_user_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="versionpersonfellowmonkofperson",
name="history_user",
),
migrations.RemoveField(
model_name="versionpersonfellowmonkofperson",
name="obj_content_type",
),
migrations.RemoveField(
model_name="versionpersonfellowmonkofperson",
name="relation_ptr",
),
migrations.RemoveField(
model_name="versionpersonfellowmonkofperson",
name="subj_content_type",
),
migrations.DeleteModel(
name="PersonFellowMonkOfPerson",
),
migrations.DeleteModel(
name="VersionPersonFellowMonkOfPerson",
),
]
Loading

0 comments on commit c1e286c

Please sign in to comment.