Skip to content

Commit

Permalink
#51 first delete the intermediary model then create m2m relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
aanersc committed Oct 13, 2020
1 parent ba2b893 commit c519004
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geospaas/catalog/migrations/0009_auto_20201012_0905.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ class Migration(migrations.Migration):
name='parameters',
field=models.ManyToManyField(to='vocabularies.Parameter'),
),
migrations.DeleteModel(
name='DatasetParameter',
),
migrations.AddField(
model_name='dataset',
name='parameters',
field=models.ManyToManyField(to='vocabularies.Parameter'),
),
migrations.DeleteModel(
name='DatasetParameter',
),
]

0 comments on commit c519004

Please sign in to comment.