Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects

Source Mapping must be unique

Merged Vincent SIMONIN requested to merge source_mapping_unique_constraint into main
7 files
+ 102
13
Compare changes
  • Side-by-side
  • Inline

Files

from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('netbox_rps_plugin', '0004_testingpage_nullable')
]
operations = [
migrations.AlterField(
model_name='mapping',
name='source',
field=models.CharField(null=False, blank=False, max_length=120, unique=True),
),
]
Loading