mindsnacks/Zinc — pull request #10 by amrox (2012-12-05 20:37:41+00:00)
Title: Storing "next_version" for each bundle

This is necessary to properly support deletion.

Scenario:
- create new version 5 (latest)
- deploy new version 5
- delete version 5
- create a new version again

The steps above would lead to the second new version being 5, next_version was based on the max current version +1. However, this means that there are 2 different version 5s that existed, which may break zinc integrity.