8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-27 01:13:46 +00:00
re2o/users/migrations/0009_user_room.py

23 lines
573 B
Python
Raw Normal View History

2016-07-03 13:26:44 +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', '0009_auto_20160703_1200'),
('users', '0008_user_registered'),
]
operations = [
migrations.AddField(
model_name='user',
name='room',
field=models.ForeignKey(to='topologie.Room', on_delete=django.db.models.deletion.PROTECT, default=1),
preserve_default=False,
),
]