Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="manifest",
name="listed_manifests",
field=models.ManyToManyField(
through="container.ManifestListManifest", to="container.manifest"
),
field=models.ManyToManyField(through='container.ManifestListManifest', through_fields=('image_manifest', 'manifest_list'), to='container.manifest'),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can get away with this, because it isn't even a change to the schema in postgres. Just the internal Django state model was missing the 'trough_fields'.
And the migration coming later to fix this is just the same but also idempotent.

),
migrations.AlterField(
model_name="manifestsignature",
Expand Down