diff --git a/apps/main/migrations/0047_auto_20200115_1013.py b/apps/main/migrations/0047_auto_20200115_1013.py new file mode 100644 index 00000000..83d025b5 --- /dev/null +++ b/apps/main/migrations/0047_auto_20200115_1013.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.7 on 2020-01-15 10:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0046_auto_20200114_1218'), + ] + + operations = [ + migrations.AlterField( + model_name='feature', + name='priority', + field=models.IntegerField(blank=True, default=None, null=True), + ), + ] diff --git a/apps/main/models.py b/apps/main/models.py index 6882568f..bae7d61a 100644 --- a/apps/main/models.py +++ b/apps/main/models.py @@ -114,7 +114,7 @@ class Feature(ProjectBaseMixin, PlatformMixin): """Feature model.""" slug = models.SlugField(max_length=255, unique=True) - priority = models.IntegerField(unique=True, null=True, default=None) + priority = models.IntegerField(blank=True, null=True, default=None) route = models.ForeignKey('PageType', on_delete=models.PROTECT, null=True, default=None) site_settings = models.ManyToManyField(SiteSettings, through='SiteFeature') old_id = models.IntegerField(null=True, blank=True)