Update commonname field to have a max_length of 200
This commit is contained in:
parent
bb561b0529
commit
8855bcb2ba
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Generated by Django 3.2.8 on 2021-10-15 01:23
|
# Generated by Django 3.2.8 on 2021-11-01 20:04
|
||||||
|
|
||||||
import django.contrib.gis.db.models.fields
|
import django.contrib.gis.db.models.fields
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
@ -58,7 +58,7 @@ class Migration(migrations.Migration):
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
('name', models.CharField(max_length=50, unique=True)),
|
('name', models.CharField(max_length=50, unique=True)),
|
||||||
('commonname', models.CharField(blank=True, max_length=50, null=True)),
|
('commonname', models.CharField(blank=True, max_length=200, null=True)),
|
||||||
('maxheight', models.FloatField()),
|
('maxheight', models.FloatField()),
|
||||||
('spacing', models.FloatField()),
|
('spacing', models.FloatField()),
|
||||||
('synonym', models.CharField(blank=True, max_length=200, null=True)),
|
('synonym', models.CharField(blank=True, max_length=200, null=True)),
|
||||||
|
|
|
@ -55,7 +55,7 @@ class ToleranceLevel(models.Model):
|
||||||
|
|
||||||
class Plant(models.Model):
|
class Plant(models.Model):
|
||||||
name = models.CharField(unique=True, max_length=50)
|
name = models.CharField(unique=True, max_length=50)
|
||||||
commonname = models.CharField(null=True, blank=True, max_length=50)
|
commonname = models.CharField(null=True, blank=True, max_length=200)
|
||||||
maxheight = models.FloatField()
|
maxheight = models.FloatField()
|
||||||
spacing = models.FloatField()
|
spacing = models.FloatField()
|
||||||
synonym = models.CharField(null=True, blank=True, max_length=200)
|
synonym = models.CharField(null=True, blank=True, max_length=200)
|
||||||
|
|
Loading…
Reference in a new issue