diff --git a/app/migrations/0027_auto_20211126_1252.py b/app/migrations/0027_auto_20211126_1252.py new file mode 100644 index 0000000..76f8f7a --- /dev/null +++ b/app/migrations/0027_auto_20211126_1252.py @@ -0,0 +1,58 @@ +# Generated by Django 3.2.5 on 2021-11-26 12:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('app', '0026_auto_20211126_1203'), + ] + + operations = [ + migrations.AlterField( + model_name='range', + name='checked', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='resource', + name='PEGASuS_Check_map_with_author', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='resource', + name='gloria', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='resource', + name='gnomo', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='resource', + name='inventory', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='resource', + name='lter', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='resource', + name='ltser', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='resource', + name='miren', + field=models.BooleanField(default=False), + ), + migrations.AlterField( + model_name='resource', + name='team', + field=models.BooleanField(default=False), + ), + ] diff --git a/app/models.py b/app/models.py index 12fd31e..8178d39 100644 --- a/app/models.py +++ b/app/models.py @@ -105,7 +105,7 @@ class Range(models.Model): peak_latitude = models.TextField(blank=True, null=True) peak_longitude = models.TextField(blank=True, null=True) comments = models.TextField(blank=True, null=True) - checked = models.BooleanField(default=False, null=True, blank=True) + checked = models.BooleanField(default=False) source = models.TextField(blank=True, null=True) range_alternate_id = models.TextField(blank=True, null=True) geologic_region = models.TextField(blank=True, null=True) @@ -192,17 +192,17 @@ class Resource(models.Model): lat = models.TextField(blank=True, null=True) lon = models.TextField(blank=True, null=True) stars = models.TextField(blank=True, null=True, choices=STAR_CHOICES) - PEGASuS_Check_map_with_author = models.BooleanField(default=False, null=True, blank=True) + PEGASuS_Check_map_with_author = models.BooleanField(default=False) PEGASuS_polygon_ID = models.TextField(blank=True, null=True) PEGASuS_Polygon_comments = models.TextField(blank=True, null=True) PEGASuS_Assessment_ID = models.TextField(blank=True, null=True) - gloria = models.BooleanField(default=False, null=True, blank=True) - gnomo = models.BooleanField(default=False, null=True, blank=True) - lter = models.BooleanField(default=False, null=True, blank=True) - ltser = models.BooleanField(default=False, null=True, blank=True) - miren = models.BooleanField(default=False, null=True, blank=True) - team = models.BooleanField(default=False, null=True, blank=True) - inventory = models.BooleanField(default=False, null=True, blank=True) + gloria = models.BooleanField(default=False) + gnomo = models.BooleanField(default=False) + lter = models.BooleanField(default=False) + ltser = models.BooleanField(default=False) + miren = models.BooleanField(default=False) + team = models.BooleanField(default=False) + inventory = models.BooleanField(default=False) doi = models.TextField(blank=True, null=True) wiki_data_id = models.TextField(blank=True, null=True)