bloombase/plants/migrations/0009_update_watering_sunlight_choices.py
Stephan Kerkman fad4642075 feat: add per-plant watering and sunlight overrides with icon chips
Plant-level watering/sunlight fields override the species defaults.
Rendered as btn-check radio buttons in the edit form; detail page
shows the plant value (with emoji) falling back to species data.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 11:54:10 +02:00

23 lines
828 B
Python

# Generated by Django 5.2.1 on 2026-05-29 09:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('plants', '0008_add_watering_sunlight_to_plant'),
]
operations = [
migrations.AlterField(
model_name='plant',
name='sunlight',
field=models.CharField(blank=True, choices=[('full_sun', '☀️ Full sun'), ('part_sun', '🌤 Part sun'), ('full_shade', '🌑 Full shade')], max_length=200),
),
migrations.AlterField(
model_name='plant',
name='watering',
field=models.CharField(blank=True, choices=[('frequent', '💧💧 Frequent'), ('regular', '💧 Regular'), ('minimum', '🌿 Minimum'), ('drought', '🌵 Drought tolerant')], max_length=100),
),
]