Story #3401
Updated by bizhang over 6 years ago
Manifest should contain the following fields: * digest: CharField(255) * schema_version: IntegerField() * config_layer: ForeignKey to Layer * layers: ManyToManyField('Layer', through='ManifestLayer') ManifestLayer is used to model the relationship between Manifests and Layer Blobs * layer: blob: ForeignKey to Layer * manifest: ForeignKey to Manifest * mediaType: ChoiceField() MediaType Choices: * application/vnd.docker.distribution.manifest.v1+json * application/vnd.docker.distribution.manifest.v2+json