8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 04:13:12 +00:00
re2o/topologie/migrations/0008_port_room.py

22 lines
542 B
Python
Raw Normal View History

2016-07-03 12:02:46 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('topologie', '0007_auto_20160703_1148'),
]
operations = [
migrations.AddField(
model_name='port',
name='room',
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, blank=True, default=1, to='topologie.Room'),
preserve_default=False,
),
]