瀏覽代碼

Tweaked migration to include Service model

Jeremy Stretch 8 年之前
父節點
當前提交
50f4c74688
共有 1 個文件被更改,包括 5 次插入 和 0 次删除
  1. 5 0
      netbox/ipam/migrations/0022_tags.py

+ 5 - 0
netbox/ipam/migrations/0022_tags.py

@@ -29,6 +29,11 @@ class Migration(migrations.Migration):
             name='tags',
             name='tags',
             field=taggit.managers.TaggableManager(help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags'),
             field=taggit.managers.TaggableManager(help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags'),
         ),
         ),
+        migrations.AddField(
+            model_name='service',
+            name='tags',
+            field=taggit.managers.TaggableManager(help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags'),
+        ),
         migrations.AddField(
         migrations.AddField(
             model_name='vlan',
             model_name='vlan',
             name='tags',
             name='tags',