8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 00:13:12 +00:00
re2o/machines/migrations/0030_auto_20161118_1730.py
2016-11-18 17:36:30 +01:00

30 lines
897 B
Python

# -*- 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')]),
),
]