mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-08-22 23:23:40 +00:00
26 lines
642 B
Python
26 lines
642 B
Python
![]() |
# -*- coding: utf-8 -*-
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('machines', '0019_auto_20160718_1141'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.RemoveField(
|
||
|
model_name='machine',
|
||
|
name='type',
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='interface',
|
||
|
name='type',
|
||
|
field=models.ForeignKey(to='machines.MachineType', default=1, on_delete=django.db.models.deletion.PROTECT),
|
||
|
preserve_default=False,
|
||
|
),
|
||
|
]
|