# Generated by Django 5.1.5 on 2025-02-24 07:35

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


class Migration(migrations.Migration):

    dependencies = [
        ('paymentlog', '0005_alter_paymentlog_created_at_and_more'),
        ('tenant', '0009_occupation_notes'),
    ]

    operations = [
        migrations.CreateModel(
            name='CalculationDates',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('last_rent_calculation', models.DateTimeField(blank=True, null=True)),
                ('last_food_calculation', models.DateTimeField(blank=True, null=True)),
                ('last_electricity_calculation', models.DateTimeField(blank=True, null=True)),
                ('tenant', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='calculation_dates', to='tenant.tenant')),
            ],
            options={
                'db_table': 'tenant_calculation_dates',
            },
        ),
    ]
