data.migrations: change CNR mimetypes to v0
Our initial CNR support is of a pre-v1 implementation of the specification.
This commit is contained in:
parent
1e9ce85af6
commit
2a117f2d24
1 changed files with 9 additions and 9 deletions
|
@ -285,15 +285,15 @@ def upgrade(tables):
|
|||
op.bulk_insert(
|
||||
tables.mediatype,
|
||||
[
|
||||
{'name': 'application/vnd.cnr.blob.v1.tar+gzip'},
|
||||
{'name': 'application/vnd.cnr.package-manifest.helm.v1.json'},
|
||||
{'name': 'application/vnd.cnr.package-manifest.kpm.v1.json'},
|
||||
{'name': 'application/vnd.cnr.package-manifest.docker-compose.v1.json'},
|
||||
{'name': 'application/vnd.cnr.package.kpm.v1.tar+gzip'},
|
||||
{'name': 'application/vnd.cnr.package.helm.v1.tar+gzip'},
|
||||
{'name': 'application/vnd.cnr.package.docker-compose.v1.tar+gzip'},
|
||||
{'name': 'application/vnd.cnr.manifests.v1.json'},
|
||||
{'name': 'application/vnd.cnr.manifest.list.v1.json'},
|
||||
{'name': 'application/vnd.cnr.blob.v0.tar+gzip'},
|
||||
{'name': 'application/vnd.cnr.package-manifest.helm.v0.json'},
|
||||
{'name': 'application/vnd.cnr.package-manifest.kpm.v0.json'},
|
||||
{'name': 'application/vnd.cnr.package-manifest.docker-compose.v0.json'},
|
||||
{'name': 'application/vnd.cnr.package.kpm.v0.tar+gzip'},
|
||||
{'name': 'application/vnd.cnr.package.helm.v0.tar+gzip'},
|
||||
{'name': 'application/vnd.cnr.package.docker-compose.v0.tar+gzip'},
|
||||
{'name': 'application/vnd.cnr.manifests.v0.json'},
|
||||
{'name': 'application/vnd.cnr.manifest.list.v0.json'},
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Reference in a new issue