[drinks] Add water drink notifications
This commit is contained in:
39
vrobbler/apps/profiles/migrations/0042_add_water_defaults.py
Normal file
39
vrobbler/apps/profiles/migrations/0042_add_water_defaults.py
Normal file
@ -0,0 +1,39 @@
|
||||
# Generated by Django 4.2.29 on 2026-07-14 00:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("profiles", "0041_userprofile_volume_unit"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="userprofile",
|
||||
name="default_water_format",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("aluminum_can", "Aluminum Can"),
|
||||
("glass_bottle", "Glass Bottle"),
|
||||
("plastic_bottle", "Plastic Bottle"),
|
||||
("metal_bottle", "Metal Bottle"),
|
||||
("keg", "Keg"),
|
||||
("by_the_glass", "By the Glass"),
|
||||
("draft", "Draft"),
|
||||
("growler", "Growler"),
|
||||
("box", "Box"),
|
||||
],
|
||||
default="by_the_glass",
|
||||
max_length=20,
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="userprofile",
|
||||
name="default_water_size",
|
||||
field=models.PositiveIntegerField(
|
||||
default=250, help_text="Default water scrobble size in mL"
|
||||
),
|
||||
),
|
||||
]
|
||||
18
vrobbler/apps/profiles/migrations/0043_add_water_reminder.py
Normal file
18
vrobbler/apps/profiles/migrations/0043_add_water_reminder.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.29 on 2026-07-14 03:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("profiles", "0042_add_water_defaults"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="userprofile",
|
||||
name="water_reminder_enabled",
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user