Skip to content

Commit

Permalink
Fix broken migration
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-f-perez committed Oct 2, 2018
1 parent bca7ebb commit f419d33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fitapp/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='timeseriesdata',
name='resource_type',
field=models.ForeignKey(to='fitapp.TimeSeriesDataType'),
field=models.ForeignKey(to='fitapp.TimeSeriesDataType', on_delete=models.CASCADE),
preserve_default=True,
),
migrations.AddField(
model_name='timeseriesdata',
name='user',
field=models.ForeignKey(to=UserModel, help_text="The data's user"),
field=models.ForeignKey(to=UserModel, help_text="The data's user",
on_delete=models.CASCADE),
preserve_default=True,
),
migrations.AddField(
Expand Down

0 comments on commit f419d33

Please sign in to comment.