from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("sensor_data", "0009_add_weather_forecast_to_sensordata"),
    ]

    operations = [
        migrations.AlterField(
            model_name="sensordata",
            name="farm_uuid",
            field=models.UUIDField(
                editable=False,
                help_text="شناسه یکتای farm که از API دریافت می‌شود",
                primary_key=True,
                serialize=False,
            ),
        ),
        migrations.AlterField(
            model_name="sensordata",
            name="plants",
            field=models.ManyToManyField(
                blank=True,
                db_table="farm_data_sensordata_plants",
                help_text="گیاهان مرتبط با این farm",
                related_name="farm_data",
                to="plant.plant",
            ),
        ),
        migrations.AlterModelTable(
            name="sensordata",
            table="farm_data_sensordata",
        ),
        migrations.AlterModelTable(
            name="sensorparameter",
            table="farm_data_sensorparameter",
        ),
        migrations.AlterModelTable(
            name="parameterupdatelog",
            table="farm_data_parameterupdatelog",
        ),
    ]
