Files
vrobbler/vrobbler/apps/profiles/migrations/0042_add_water_defaults.py

40 lines
1.2 KiB
Python

# 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"
),
),
]