2017-08-26 13:10:18 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.7 on 2017-08-25 02:59
|
|
|
|
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 = [("preferences", "0009_assooption_utilisateur_asso")]
|
2017-08-26 13:10:18 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="OptionalTopologie",
|
2017-08-26 13:10:18 +00:00
|
|
|
fields=[
|
2019-11-04 16:55:03 +00:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
verbose_name="ID",
|
|
|
|
),
|
|
|
|
)
|
2017-08-26 13:10:18 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="Vlan",
|
2017-08-26 13:10:18 +00:00
|
|
|
fields=[
|
2019-11-04 16:55:03 +00:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
verbose_name="ID",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("vlan_id", models.IntegerField()),
|
|
|
|
("comment", models.CharField(max_length=256)),
|
2017-08-26 13:10:18 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
2019-11-04 16:55:03 +00:00
|
|
|
model_name="optionaltopologie",
|
|
|
|
name="vlan_decision_nok",
|
|
|
|
field=models.OneToOneField(
|
|
|
|
blank=True,
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="decision_nok",
|
|
|
|
to="preferences.Vlan",
|
|
|
|
),
|
2017-08-26 13:10:18 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2019-11-04 16:55:03 +00:00
|
|
|
model_name="optionaltopologie",
|
|
|
|
name="vlan_decision_ok",
|
|
|
|
field=models.OneToOneField(
|
|
|
|
blank=True,
|
|
|
|
null=True,
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
related_name="decision_ok",
|
|
|
|
to="preferences.Vlan",
|
|
|
|
),
|
2017-08-26 13:10:18 +00:00
|
|
|
),
|
|
|
|
]
|