mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
30 lines
860 B
Python
30 lines
860 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.9.1 on 2016-03-28 21:09
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('dcim', '0003_auto_20160304_1642'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name='module',
|
|
options={'ordering': ['device', 'parent', 'name']},
|
|
),
|
|
migrations.AddField(
|
|
model_name='module',
|
|
name='parent',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='submodules', to='dcim.Module'),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name='module',
|
|
unique_together=set([('device', 'parent', 'name')]),
|
|
),
|
|
]
|