Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add dependency on gym migration file

Roland Geider9ebba79c6d97
diff --git a/wger/core/migrations/0008_auto__add_field_gym_phone.py b/wger/core/migrations/0008_auto__add_field_gym_phone.py
index 2d03d8fcc..837ddd221 100644
--- a/wger/core/migrations/0008_auto__add_field_gym_phone.py
+++ b/wger/core/migrations/0008_auto__add_field_gym_phone.py
@@ -7,6 +7,10 @@ from django.db import models
class Migration(SchemaMigration):
+ depends_on = (
+ ('config', '0003_auto__add_gymconfig__chg_field_languageconfig_language_target__chg_fie'),
+ )
+
def forwards(self, orm):
# Adding field 'Gym.phone'
db.add_column(u'core_gym', 'phone',