mirror of https://gitlab.federez.net/re2o/re2o
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
569 B
26 lines
569 B
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.7 on 2019-01-02 23:45
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
def migrate(apps, schema_editor):
|
|
Role = apps.get_model('machines', 'Role')
|
|
|
|
for role in Role.objects.filter(specific_role='dns-recursif-server'):
|
|
role.specific_role = 'dns-recursive-server'
|
|
role.save()
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('machines', '0098_auto_20190102_1745'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RunPython(migrate),
|
|
]
|
|
|
|
|
|
|