# Generated by Django 3.1.4 on 2021-10-22 16:47

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('inventory', '0119_auto_20211021_1413'),
    ]

    operations = [
        migrations.AddField(
            model_name='stkclosingcurrent',
            name='tm',
            field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now, verbose_name='创建时间'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='stkclosingcurrent',
            name='user',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, related_name='stkclosingcurrent_user', to='company.user', verbose_name='操作人'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='stkclosingperiod',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='stkclosingperiod_user', to=settings.AUTH_USER_MODEL, verbose_name='操作人'),
        ),
    ]
