8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-04 00:52:49 +00:00
re2o/machines/migrations/0030_auto_20161118_1730.py

31 lines
897 B
Python
Raw Normal View History

2016-11-18 16:36:30 +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 = [
('machines', '0029_iptype_domaine_range'),
]
operations = [
migrations.AddField(
model_name='alias',
name='extension',
field=models.ForeignKey(to='machines.Extension', default=1, on_delete=django.db.models.deletion.PROTECT),
preserve_default=False,
),
migrations.AlterField(
model_name='alias',
name='alias',
field=models.CharField(max_length=255, help_text='Obligatoire et unique, ne doit pas comporter de points'),
),
migrations.AlterUniqueTogether(
name='alias',
unique_together=set([('alias', 'extension')]),
),
]