mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes: #4967 - Adds Tenancy to Aggregate model
This commit is contained in:
20
netbox/ipam/migrations/0043_add_tenancy_to_aggregates.py
Normal file
20
netbox/ipam/migrations/0043_add_tenancy_to_aggregates.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 3.1 on 2020-10-16 01:24
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('tenancy', '0011_standardize_name_length'),
|
||||
('ipam', '0042_standardize_name_length'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='aggregate',
|
||||
name='tenant',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='aggregates', to='tenancy.tenant'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user