8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-18 04:53:47 +00:00
re2o/preferences/migrations/0010_auto_20170825_0459.py
Hugo Levy-Falk c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00

66 lines
2 KiB
Python

# -*- 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):
dependencies = [("preferences", "0009_assooption_utilisateur_asso")]
operations = [
migrations.CreateModel(
name="OptionalTopologie",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
)
],
),
migrations.CreateModel(
name="Vlan",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("vlan_id", models.IntegerField()),
("comment", models.CharField(max_length=256)),
],
),
migrations.AddField(
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",
),
),
migrations.AddField(
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",
),
),
]