# Generated by Django 3.2.16 on 2023-02-12 08:29

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


def fake_func(*args, **kwargs):
    """A placeholder function to avoid import errors."""
    pass


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('part', '0096_auto_20230211_0029'),
    ]

    operations = [
        migrations.CreateModel(
            name='PartStocktakeReport',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date', models.DateField(auto_now_add=True, verbose_name='Date')),
                ('report', models.FileField(help_text='Stocktake report file (generated internally)', upload_to=fake_func, verbose_name='Report')),
                ('user', models.ForeignKey(blank=True, help_text='User who requested this stocktake report', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='stocktake_reports', to=settings.AUTH_USER_MODEL, verbose_name='User')),
            ],
        ),
    ]
