mirror of https://gitlab.federez.net/re2o/re2o
committed by
root
7 changed files with 118 additions and 22 deletions
@ -0,0 +1,15 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('machines', '0034_iplist_need_infra'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RenameModel('Alias', 'Domain') |
|||
] |
|||
@ -0,0 +1,28 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('machines', '0035_auto_20161224_1201'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RenameField( |
|||
model_name='domain', |
|||
old_name='alias', |
|||
new_name='name', |
|||
), |
|||
migrations.AlterField( |
|||
model_name='domain', |
|||
name='interface_parent', |
|||
field=models.ForeignKey(to='machines.Interface', null=True, blank=True), |
|||
), |
|||
migrations.AlterUniqueTogether( |
|||
name='domain', |
|||
unique_together=set([('name', 'extension')]), |
|||
), |
|||
] |
|||
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('machines', '0036_auto_20161224_1204'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='domain', |
|||
name='cname', |
|||
field=models.OneToOneField(related_name='related_domain', null=True, to='machines.Domain', blank=True), |
|||
), |
|||
] |
|||
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('machines', '0037_domain_cname'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='domain', |
|||
name='cname', |
|||
field=models.ForeignKey(null=True, to='machines.Domain', related_name='related_domain', blank=True), |
|||
), |
|||
] |
|||
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('machines', '0038_auto_20161224_1721'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='domain', |
|||
name='interface_parent', |
|||
field=models.OneToOneField(blank=True, null=True, to='machines.Interface'), |
|||
), |
|||
] |
|||
Loading…
Reference in new issue