# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-08-18 07:45
from __future__ import unicode_literals

import annoying.fields
from django.db import migrations
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('WriteTogether', '0003_auto_20170816_1559'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='poenter',
            options={'verbose_name': '\u91c7\u8d2d\u5165\u5e93\u65f6\u95f4\u6761\u76ee'},
        ),
        migrations.RenameField(
            model_name='inspectionfinishdate',
            old_name='recid',
            new_name='id',
        ),
        migrations.RenameField(
            model_name='inspectionitem',
            old_name='recid',
            new_name='id',
        ),
        migrations.RenameField(
            model_name='poenter',
            old_name='recid',
            new_name='id',
        ),
        migrations.RenameField(
            model_name='purchaseorderitem',
            old_name='recid',
            new_name='id',
        ),
        migrations.RemoveField(
            model_name='poenter',
            name='purchase_item',
        ),
        migrations.AddField(
            model_name='purchaseorderitem',
            name='enter',
            field=annoying.fields.AutoOneToOneField(default=None, on_delete=django.db.models.deletion.CASCADE, to='WriteTogether.POEnter', verbose_name='\u5165\u5e93'),
            preserve_default=False,
        ),
    ]
