-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Regenerate pre-v3.7 migrations * Annotate replaced migrations * Rename dependencies; remove FeatureQuery references * Add missed replacement
- Loading branch information
1 parent
ef5e10d
commit 874685f
Showing
190 changed files
with
4,355 additions
and
9,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# Generated by Django 4.1.10 on 2023-07-30 17:49 | ||
|
||
from django.db import migrations | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 11 additions & 10 deletions
21
...pam/migrations/0051_extend_tag_support.py → netbox/circuits/migrations/0002_squashed.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import taggit.managers | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
('extras', '0001_initial'), | ||
('ipam', '0001_initial'), | ||
('dcim', '0001_initial'), | ||
('circuits', '0002_squashed'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='provider', | ||
name='asns', | ||
field=models.ManyToManyField(blank=True, related_name='providers', to='ipam.asn'), | ||
), | ||
migrations.AddField( | ||
model_name='provider', | ||
name='tags', | ||
field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), | ||
), | ||
migrations.AddField( | ||
model_name='circuittype', | ||
name='tags', | ||
field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), | ||
), | ||
migrations.AddField( | ||
model_name='circuittermination', | ||
name='cable', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='dcim.cable'), | ||
), | ||
migrations.AddField( | ||
model_name='circuittermination', | ||
name='circuit', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='terminations', to='circuits.circuit'), | ||
), | ||
migrations.AddField( | ||
model_name='circuittermination', | ||
name='provider_network', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='circuit_terminations', to='circuits.providernetwork'), | ||
), | ||
migrations.AddField( | ||
model_name='circuittermination', | ||
name='site', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='circuit_terminations', to='dcim.site'), | ||
), | ||
migrations.AddField( | ||
model_name='circuittermination', | ||
name='tags', | ||
field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), | ||
), | ||
migrations.AddField( | ||
model_name='circuit', | ||
name='provider', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='circuits', to='circuits.provider'), | ||
), | ||
migrations.AddField( | ||
model_name='circuit', | ||
name='provider_account', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='circuits', to='circuits.provideraccount'), | ||
), | ||
migrations.AddField( | ||
model_name='circuit', | ||
name='tags', | ||
field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), | ||
), | ||
] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.