Skip to main content

max / makenotwork

Drop unique current version constraint (migration 109) The idx_versions_unique_current index enforced one is_current=true version per item. This blocks multi-file uploads with the same version number (e.g. macOS + Linux + Windows builds). Drop it to allow multiple current versions per item. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author: Max J. <87768334+MaxJMath@users.noreply.github.com> · 2026-05-10 22:28 UTC
Commit: 5aa9fd92a9dcb94ad0b860a9ebb103eb59a0851b
Parent: 6ef5289
1 file changed, +3 insertions, -0 deletions
@@ -0,0 +1,3 @@
1 + -- Allow multiple current versions per item (e.g. platform variants).
2 + -- The old index enforced one current version per item.
3 + DROP INDEX IF EXISTS idx_versions_unique_current;