mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
* Regenerate pre-v3.7 migrations * Annotate replaced migrations * Rename dependencies; remove FeatureQuery references * Add missed replacement
32 lines
936 B
Python
32 lines
936 B
Python
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import taggit.managers
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('extras', '0001_initial'),
|
|
('circuits', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='providernetwork',
|
|
name='tags',
|
|
field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='provideraccount',
|
|
name='provider',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='accounts', to='circuits.provider'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='provideraccount',
|
|
name='tags',
|
|
field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'),
|
|
),
|
|
]
|