# Generated by Django 5.0 on 2026-02-28 04:16

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='WeatherRecord',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date', models.DateField(unique=True, verbose_name='日付')),
                ('temp_mean', models.FloatField(blank=True, null=True, verbose_name='平均気温(℃)')),
                ('temp_max', models.FloatField(blank=True, null=True, verbose_name='最高気温(℃)')),
                ('temp_min', models.FloatField(blank=True, null=True, verbose_name='最低気温(℃)')),
                ('sunshine_h', models.FloatField(blank=True, null=True, verbose_name='日照時間(h)')),
                ('precip_mm', models.FloatField(blank=True, null=True, verbose_name='降水量(mm)')),
                ('wind_max', models.FloatField(blank=True, null=True, verbose_name='最大風速(m/s)')),
                ('pressure_min', models.FloatField(blank=True, null=True, verbose_name='最低気圧(hPa)')),
            ],
            options={
                'verbose_name': '気象記録',
                'verbose_name_plural': '気象記録',
                'ordering': ['date'],
            },
        ),
    ]
