Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fold migrations

Roland Geiderc85fe6dbfd0f
diff --git a/wger/measurements/migrations/0006_health_sync.py b/wger/measurements/migrations/0006_health_sync.py
index ed3c4d8f4..edfdf76cf 100644
--- a/wger/measurements/migrations/0006_health_sync.py
+++ b/wger/measurements/migrations/0006_health_sync.py
@@ -129,7 +129,12 @@ class Migration(migrations.Migration):
model_name='measurement',
name='source',
field=models.CharField(
- choices=[('user', 'User'), ('google', 'Google'), ('apple', 'Apple')],
+ choices=[
+ ('user', 'User'),
+ ('google', 'Google'),
+ ('apple', 'Apple'),
+ ('calculated', 'Calculated'),
+ ],
default='user',
max_length=10,
verbose_name='Source',
diff --git a/wger/measurements/migrations/0009_calculated_source.py b/wger/measurements/migrations/0009_calculated_source.py
deleted file mode 100644
index 60b1ca509..000000000
--- a/wger/measurements/migrations/0009_calculated_source.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# Generated by Django 6.0.8 on 2026-08-15 11:43
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
- dependencies = [
- ('measurements', '0008_dynamic_type'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='measurement',
- name='source',
- field=models.CharField(
- choices=[
- ('user', 'User'),
- ('google', 'Google'),
- ('apple', 'Apple'),
- ('calculated', 'Calculated'),
- ],
- default='user',
- max_length=10,
- verbose_name='Source',
- ),
- ),
- ]