mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Cache each CablePath on its originating endpoint
This commit is contained in:
20
netbox/circuits/migrations/0021_cablepath.py
Normal file
20
netbox/circuits/migrations/0021_cablepath.py
Normal file
@ -0,0 +1,20 @@
|
||||
# Generated by Django 3.1 on 2020-10-02 19:43
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('dcim', '0120_cablepath'),
|
||||
('circuits', '0020_custom_field_data'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='circuittermination',
|
||||
name='_path',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='dcim.cablepath'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user