# Generated by Django 4.2.7 on 2023-11-24 12:19

from django.db import migrations, models



class Migration(migrations.Migration):

    dependencies = [
        ('programmer', '0004_rename_photo_recall_scan'),
    ]

    operations = [
        migrations.CreateModel(
            name='Recall',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=255, verbose_name='Организация')),
                ('content', models.TextField(blank=True, verbose_name='Отзыв')),
                ('scan', models.ImageField(upload_to='photos/%Y/%m/%d/', verbose_name='Скан')),
                ('time_create', models.DateTimeField(auto_now_add=True, verbose_name='Дата создания')),
                ('time_update', models.DateTimeField(auto_now=True, verbose_name='Дата изменения')),
                ('is_published', models.BooleanField(default=True, verbose_name='Опубликован')),
            ],
            options={
                'verbose_name': 'Отзыв',
                'verbose_name_plural': 'Отзывы',
                'ordering': ['time_create', 'title'],
            },
        ),
    ]
