Commit 2bd3b3e6 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

erbium

parent 0dfd7c54
Pipeline #885 passed with stages
in 58 seconds
# Generated by Django 2.0.5 on 2018-07-02 09:49
from django.db import migrations
def dubnium_to_erbium(apps, schema_editor):
Target = apps.get_model('rainboard', 'Target')
Target.objects.filter(name='dubnium').update(active=False)
Target.objects.create(name='erbium')
class Migration(migrations.Migration):
dependencies = [
('rainboard', '0019_target_active'),
]
operations = [
migrations.RunPython(dubnium_to_erbium),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment