Make select_300 boolean field
This commit is contained in:
parent
aad89cdcbe
commit
a81740f453
2 changed files with 19 additions and 1 deletions
18
app/migrations/0052_alter_mountainrange_select_300.py
Normal file
18
app/migrations/0052_alter_mountainrange_select_300.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.0.1 on 2022-01-13 04:08
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0051_auto_20220104_1608'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='mountainrange',
|
||||
name='select_300',
|
||||
field=models.BooleanField(blank=True, max_length=12, null=True),
|
||||
),
|
||||
]
|
|
@ -119,7 +119,7 @@ class MountainRange(models.Model):
|
|||
gmba_v2_id_str = models.TextField(blank=True, null=True)
|
||||
wiki_data_id = models.CharField(blank=True, null=True, max_length=25)
|
||||
wiki_data_url = models.TextField(blank=True, null=True)
|
||||
select_300 = models.CharField(blank=True, null=True, max_length=12)
|
||||
select_300 = models.BooleanField(blank=True, null=True, max_length=12)
|
||||
gmba_narrow = models.CharField(blank=True, null=True, max_length=12)
|
||||
name_fr = models.CharField(blank=True, null=True, max_length=128)
|
||||
name_de = models.CharField(blank=True, null=True, max_length=128)
|
||||
|
|
Loading…
Reference in a new issue