# Generated by Django 5.1.4 on 2024-12-14 04:29

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


class Migration(migrations.Migration):

    dependencies = [
        ('antifroud', '0009_importedhotel_display_name'),
        ('hotels', '0010_alter_hotel_timezone'),
    ]

    operations = [
        migrations.CreateModel(
            name='SyncLog',
            fields=[
                ('id', models.BigIntegerField(primary_key=True, serialize=False, unique=True, verbose_name='ID')),
                ('created', models.DateTimeField(auto_now_add=True, verbose_name='Дата создания')),
                ('recieved_records', models.IntegerField(verbose_name='Полученные записи')),
                ('processed_records', models.IntegerField(verbose_name='Обработанные записи')),
                ('hotel', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='hotels.hotel', verbose_name='Отель')),
                ('reservation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='hotels.reservation', verbose_name='Бронирование')),
            ],
            options={
                'verbose_name': 'Журнал синхронизации',
                'verbose_name_plural': 'Журналы синхронизации',
            },
        ),
    ]
