Make incremental model change (mother_range to be modelled next)
This commit is contained in:
parent
dc501018eb
commit
5408046fbb
2 changed files with 2 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 3.2.5 on 2021-11-23 10:03
|
||||
# Generated by Django 3.2.5 on 2021-11-25 05:09
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
@ -16,11 +16,6 @@ class Migration(migrations.Migration):
|
|||
name='checked',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='range',
|
||||
name='mother_range',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='app.range'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='range',
|
||||
name='range_name_language',
|
|
@ -79,7 +79,7 @@ class Range(models.Model):
|
|||
range_name = models.TextField(blank=True, null=True)
|
||||
range_name_ascii = models.TextField(blank=True, null=True)
|
||||
range_name_language = models.ForeignKey(Language, models.DO_NOTHING, blank=True, null=True, to_field='id')
|
||||
mother_range = models.ForeignKey("self", models.DO_NOTHING, blank=True, null=True, to_field='id')
|
||||
mother_range = models.TextField(blank=True, null=True)
|
||||
feature = models.TextField(blank=True, null=True) # TODO needs to be a drop down
|
||||
map_unit = models.TextField(blank=True, null=True)
|
||||
level = models.TextField(blank=True, null=True)
|
||||
|
|
Loading…
Reference in a new issue