singularityhub / sregistry

server for storage and management of singularity images
https://singularityhub.github.io/sregistry
Mozilla Public License 2.0
103 stars 42 forks source link

Migrations for API #257

Closed vsoch closed 4 years ago

vsoch commented 4 years ago

We should change the charfield for the upload id to a proper uuid, or just make it an empty string, OR have a generator function for it. The issue having it on the model here:

https://github.com/singularityhub/sregistry/pull/256/files#diff-83cc90372c8db203f51d3e533b548ae8R89

Is that it will do a new migration each time, given that the uuid hash changes.