Make select_300 boolean field

This commit is contained in:
PCoder 2022-01-13 09:45:40 +05:30
parent a81740f453
commit 4c328052da
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# Generated by Django 4.0.1 on 2022-01-13 04:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0052_alter_mountainrange_select_300'),
]
operations = [
migrations.AlterField(
model_name='mountainrange',
name='select_300',
field=models.BooleanField(default=False),
),
]

View file

@ -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.BooleanField(blank=True, null=True, max_length=12)
select_300 = models.BooleanField(default=False)
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)