Skip to content

Commit

Permalink
reset migrations; invalidate ghseet id #8
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Nov 5, 2021
1 parent 8cabe3d commit bd6d69c
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 437 deletions.
59 changes: 49 additions & 10 deletions archiv/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Generated by Django 3.2.7 on 2021-09-21 14:09
# Generated by Django 3.2.7 on 2021-11-05 10:11

from django.db import migrations, models
import django.db.models.deletion
import mptt.fields


class Migration(migrations.Migration):
Expand All @@ -18,12 +19,10 @@ class Migration(migrations.Migration):
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('legacy_id', models.CharField(blank=True, max_length=300, verbose_name='Legacy ID')),
('legacy_pk', models.IntegerField(blank=True, help_text='whatever', null=True, verbose_name='alt id')),
('name', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='name')),
('name', models.CharField(blank=True, help_text='following GMTR 1', max_length=250, verbose_name='name')),
('alt_name', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Alternative name')),
('title', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Title')),
('related_objects', models.IntegerField(blank=True, help_text='TODO', null=True, verbose_name='related objects')),
('orig_data_csv', models.TextField(blank=True, null=True, verbose_name='The original data')),
('part_of', models.ForeignKey(blank=True, help_text='whatever', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='rvn_archiv_part_of_archiv', to='archiv.archiv', verbose_name='part of')),
],
options={
'verbose_name': 'Archiv',
Expand All @@ -40,7 +39,14 @@ class Migration(migrations.Migration):
('author', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Author')),
('publication_year', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Publication year')),
('title', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Title')),
('volume_nr', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Volume no.')),
('pages', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Pages')),
('journal', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Journal')),
('editor', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Editor')),
('book', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Book')),
('related_publications', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='related_publications')),
('orig_data_csv', models.TextField(blank=True, null=True, verbose_name='The original data')),
('mentioned_archive', models.ManyToManyField(blank=True, help_text='whatever', related_name='rvn_bibliography_mentioned_archive_archiv', to='archiv.Archiv', verbose_name='Place mentioned on Tablet')),
],
options={
'verbose_name': 'Bibliography',
Expand All @@ -53,13 +59,18 @@ class Migration(migrations.Migration):
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('legacy_id', models.CharField(blank=True, max_length=300, verbose_name='Legacy ID')),
('legacy_pk', models.IntegerField(blank=True, help_text='whatever', null=True, verbose_name='alt id')),
('pref_label', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='pref label')),
('hierarchy', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Hierarchy')),
('pref_label', models.CharField(blank=True, help_text='type of document', max_length=250, verbose_name='Label')),
('glossary_collection', models.CharField(blank=True, help_text='Collection to group Glossary entries', max_length=250, verbose_name='Collection')),
('title', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Title')),
('orig_data_csv', models.TextField(blank=True, null=True, verbose_name='The original data')),
('lft', models.PositiveIntegerField(editable=False)),
('rght', models.PositiveIntegerField(editable=False)),
('tree_id', models.PositiveIntegerField(db_index=True, editable=False)),
('level', models.PositiveIntegerField(editable=False)),
('broader_concept', mptt.fields.TreeForeignKey(blank=True, help_text='Concept with a broader meaning that this concept inherits from', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='narrower_concepts', to='archiv.glossary', verbose_name='skos:broader')),
],
options={
'verbose_name': 'Glossary',
'ordering': ['pref_label'],
'abstract': False,
},
),
migrations.CreateModel(
Expand All @@ -69,9 +80,9 @@ class Migration(migrations.Migration):
('legacy_id', models.CharField(blank=True, max_length=300, verbose_name='Legacy ID')),
('legacy_pk', models.IntegerField(blank=True, help_text='whatever', null=True, verbose_name='alt id')),
('name', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Name')),
('related_objects', models.IntegerField(blank=True, help_text='TODO', null=True, verbose_name='related objects')),
('title', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Title')),
('orig_data_csv', models.TextField(blank=True, null=True, verbose_name='The original data')),
('part_of', models.ForeignKey(blank=True, help_text='whatever', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='rvn_place_part_of_place', to='archiv.place', verbose_name='part of')),
('part_of', models.ForeignKey(blank=True, help_text='larger region', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='rvn_place_part_of_place', to='archiv.place', verbose_name='part of')),
],
options={
'verbose_name': 'Place',
Expand All @@ -87,8 +98,21 @@ class Migration(migrations.Migration):
('museum_id', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Museum No.')),
('paraphrase', models.TextField(blank=True, help_text='whatever', null=True, verbose_name='Paraphrase')),
('transliteration', models.TextField(blank=True, help_text='whatever', null=True, verbose_name='Transliteration')),
('publication_name', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Publication name')),
('period', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Period')),
('day', models.CharField(blank=True, help_text='Day of month', max_length=250, verbose_name='Babylonian Day')),
('month', models.CharField(blank=True, help_text='Babylonian month (I-XII)', max_length=250, verbose_name='Babylonian Month')),
('year', models.CharField(blank=True, help_text='Regnal year', max_length=250, verbose_name='Babylonian Year')),
('king', models.CharField(blank=True, help_text='King (abbreviated)', max_length=250, verbose_name='King')),
('imported', models.CharField(blank=True, help_text='whatever', max_length=250, verbose_name='Imported (Person, date)')),
('julian_date_year', models.IntegerField(blank=True, help_text='Year BCE', null=True, verbose_name='Year BCE')),
('bibliography', models.CharField(blank=True, help_text='Bibliography', max_length=250, verbose_name='Bibliography')),
('orig_data_csv', models.TextField(blank=True, null=True, verbose_name='The original data')),
('archiv', models.ForeignKey(blank=True, help_text='whatever', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='rvn_tablet_archiv_archiv', to='archiv.archiv', verbose_name='Archive')),
('key_word', models.ManyToManyField(blank=True, help_text='whatever', related_name='rvn_tablet_key_word_glossary', to='archiv.Glossary', verbose_name='random keyword')),
('mentioned_archiv', models.ManyToManyField(blank=True, help_text='whatever', related_name='rvn_tablet_mentioned_archiv_archiv', to='archiv.Archiv', verbose_name='Archive')),
('mentioned_in_pub', models.ManyToManyField(blank=True, help_text='whatever', related_name='rvn_tablet_mentioned_in_pub_bibliography', to='archiv.Bibliography', verbose_name='Mentioned in Publication')),
('mentioned_place', models.ManyToManyField(blank=True, help_text='whatever', related_name='rvn_tablet_mentioned_place_place', to='archiv.Place', verbose_name='Place mentioned on Tablet')),
('place_of_issue', models.ForeignKey(blank=True, help_text='whatever', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='rvn_tablet_place_of_issue_place', to='archiv.place', verbose_name='Place of issue')),
('type_content', models.ForeignKey(blank=True, help_text='whatever', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='rvn_tablet_type_content_glossary', to='archiv.glossary', verbose_name='Type and content')),
],
Expand All @@ -97,4 +121,19 @@ class Migration(migrations.Migration):
'ordering': ['id'],
},
),
migrations.AddField(
model_name='bibliography',
name='mentioned_glossary_item',
field=models.ManyToManyField(blank=True, help_text='mentioned_glossary_item', related_name='rvn_bibliography_mentioned_glossary_item_glossary', to='archiv.Glossary', verbose_name='mentioned_glossary_item'),
),
migrations.AddField(
model_name='bibliography',
name='mentioned_place',
field=models.ManyToManyField(blank=True, help_text='whatever', related_name='rvn_bibliography_mentioned_place_place', to='archiv.Place', verbose_name='Place mentioned on Tablet'),
),
migrations.AddField(
model_name='archiv',
name='part_of',
field=models.ForeignKey(blank=True, help_text='Place of issue', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='rvn_archiv_part_of_place', to='archiv.place', verbose_name='part of'),
),
]
43 changes: 0 additions & 43 deletions archiv/migrations/0002_auto_20210921_1846.py

This file was deleted.

119 changes: 0 additions & 119 deletions archiv/migrations/0003_auto_20210930_0949.py

This file was deleted.

27 changes: 0 additions & 27 deletions archiv/migrations/0004_auto_20211004_1018.py

This file was deleted.

23 changes: 0 additions & 23 deletions archiv/migrations/0005_auto_20211004_1018.py

This file was deleted.

Loading

0 comments on commit bd6d69c

Please sign in to comment.