2018-03-26 16:07:36 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.7 on 2018-03-26 15:42
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2019-11-04 16:55:03 +00:00
|
|
|
dependencies = [("topologie", "0053_finalsw")]
|
2018-03-26 16:07:36 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterModelOptions(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="accesspoint",
|
|
|
|
options={"permissions": (("view_ap", "Peut voir une borne"),)},
|
2018-03-26 16:07:36 +00:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="switch",
|
|
|
|
options={"permissions": (("view_switch", "Peut voir un objet switch"),)},
|
2018-03-26 16:07:36 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2019-11-04 16:55:03 +00:00
|
|
|
model_name="port",
|
|
|
|
name="switch",
|
|
|
|
field=models.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
related_name="ports",
|
|
|
|
to="topologie.Switch",
|
|
|
|
),
|
2018-03-26 16:07:36 +00:00
|
|
|
preserve_default=False,
|
|
|
|
),
|
|
|
|
migrations.AlterUniqueTogether(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="port", unique_together=set([("switch", "port")])
|
2018-03-26 16:07:36 +00:00
|
|
|
),
|
|
|
|
migrations.AlterUniqueTogether(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="switch", unique_together=set([("stack", "stack_member_id")])
|
2018-03-26 16:07:36 +00:00
|
|
|
),
|
|
|
|
]
|