Code development platform for open source projects from the European Union institutions

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
7
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