Files
vrobbler/vrobbler/apps/profiles/migrations/0045_userprofile_fasting_settings.py

36 lines
1.0 KiB
Python

from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("profiles", "0044_userprofile_inaturalist_auto_import_and_more"),
]
operations = [
migrations.AddField(
model_name="userprofile",
name="fasting_vacation_exempt",
field=models.BooleanField(
default=True,
help_text="Skip fasting detection during Vacation life events",
),
),
migrations.AddField(
model_name="userprofile",
name="fasting_periodic_hours",
field=models.IntegerField(
default=16,
help_text="Hour gap threshold for periodic (intermittent) fasting",
),
),
migrations.AddField(
model_name="userprofile",
name="fasting_full_hours",
field=models.IntegerField(
default=24,
help_text="Hour gap threshold for full-day fasting",
),
),
]