mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
28 lines
874 B
Python
28 lines
874 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.9.8 on 2016-07-28 15:32
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('tenancy', '0001_initial'),
|
|
('ipam', '0006_vrf_vlan_add_tenant'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='ipaddress',
|
|
name='tenant',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='ip_addresses', to='tenancy.Tenant'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='prefix',
|
|
name='tenant',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='prefixes', to='tenancy.Tenant'),
|
|
),
|
|
]
|