Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add dependency of DB migration

Roland Geidere095ba5cc1f2
diff --git a/wger/core/migrations/0009_auto__del_gym__chg_field_userprofile_gym.py b/wger/core/migrations/0009_auto__del_gym__chg_field_userprofile_gym.py
index 234a214d8..d65b090eb 100644
--- a/wger/core/migrations/0009_auto__del_gym__chg_field_userprofile_gym.py
+++ b/wger/core/migrations/0009_auto__del_gym__chg_field_userprofile_gym.py
@@ -7,6 +7,10 @@ from django.db import models
class Migration(SchemaMigration):
+ depends_on = (
+ ('gym', '0002_copy_gyms'),
+ )
+
def forwards(self, orm):
# Deleting model 'Gym'
db.delete_table(u'core_gym')
@@ -128,4 +132,4 @@ class Migration(SchemaMigration):
}
}
- complete_apps = ['core']
\ No newline at end of file
+ complete_apps = ['core']