mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-01 07:03:22 +02:00
Added uniquieness constraint to Secret
This commit is contained in:
19
netbox/secrets/migrations/0005_auto_20160614_2019.py
Normal file
19
netbox/secrets/migrations/0005_auto_20160614_2019.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.5 on 2016-06-14 20:19
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('secrets', '0004_auto_20160407_1548'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterUniqueTogether(
|
||||
name='secret',
|
||||
unique_together=set([('device', 'role', 'name')]),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user