mirror of https://gitlab.federez.net/re2o/re2o
8 changed files with 76 additions and 15 deletions
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('machines', '0025_auto_20161023_0038'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='interface', |
|||
name='dns', |
|||
field=models.CharField(unique=True, max_length=255, help_text='Obligatoire et unique, ne doit pas comporter de points'), |
|||
), |
|||
] |
|||
@ -0,0 +1,35 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('machines', '0026_auto_20161026_1348'), |
|||
('topologie', '0018_room_details'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='switch', |
|||
name='location', |
|||
field=models.CharField(default='test', max_length=255), |
|||
preserve_default=False, |
|||
), |
|||
migrations.AddField( |
|||
model_name='switch', |
|||
name='switch_interface', |
|||
field=models.OneToOneField(default=1, to='machines.Interface'), |
|||
preserve_default=False, |
|||
), |
|||
migrations.AlterUniqueTogether( |
|||
name='switch', |
|||
unique_together=set([]), |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='switch', |
|||
name='building', |
|||
), |
|||
] |
|||
Loading…
Reference in new issue