mirror of https://gitlab.federez.net/re2o/re2o
8 changed files with 129 additions and 2 deletions
@ -0,0 +1,19 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('topologie', '0012_port_machine_interface'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AddField( |
||||
|
model_name='port', |
||||
|
name='related', |
||||
|
field=models.OneToOneField(null=True, to='topologie.Port', blank=True, related_name='related_port'), |
||||
|
), |
||||
|
] |
||||
@ -0,0 +1,26 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('topologie', '0013_port_related'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AlterUniqueTogether( |
||||
|
name='port', |
||||
|
unique_together=set([('switch', 'port')]), |
||||
|
), |
||||
|
migrations.RemoveField( |
||||
|
model_name='port', |
||||
|
name='_content_type', |
||||
|
), |
||||
|
migrations.RemoveField( |
||||
|
model_name='port', |
||||
|
name='_object_id', |
||||
|
), |
||||
|
] |
||||
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('topologie', '0014_auto_20160706_1238'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='port', |
||||
|
name='related', |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='port', |
||||
|
name='related', |
||||
|
field=models.ManyToManyField(related_name='_port_related_+', to='topologie.Port', blank=True), |
||||
|
), |
||||
|
] |
||||
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('topologie', '0015_auto_20160706_1452'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.RemoveField( |
||||
|
model_name='port', |
||||
|
name='related', |
||||
|
), |
||||
|
migrations.AddField( |
||||
|
model_name='port', |
||||
|
name='related', |
||||
|
field=models.OneToOneField(blank=True, to='topologie.Port', related_name='related_port', null=True), |
||||
|
), |
||||
|
] |
||||
Loading…
Reference in new issue