From f253203dc5600b36570fdade54116bd35e99ed2a Mon Sep 17 00:00:00 2001 From: Cristian Magherusan-Stanciu Date: Fri, 5 Jun 2026 11:30:19 +0200 Subject: [PATCH] fix(db): renumber duplicate migration 000057_cleanup_universal_plans to 000060 (closes #970) Two migrations shared version 000057: drop_user_role_to_groups (applied on live DBs) and cleanup_universal_plans (from #802, not yet applied). golang- migrate requires unique version numbers. Renumber cleanup_universal_plans to 000060 (a free slot between 000059 and 000063), and update the version references in its SQL comments and test file. --- ...sal_plans.down.sql => 000060_cleanup_universal_plans.down.sql} | 0 ...iversal_plans.up.sql => 000060_cleanup_universal_plans.up.sql} | 0 ...ersal_plans_test.go => 000060_cleanup_universal_plans_test.go} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename internal/database/postgres/migrations/{000057_cleanup_universal_plans.down.sql => 000060_cleanup_universal_plans.down.sql} (100%) rename internal/database/postgres/migrations/{000057_cleanup_universal_plans.up.sql => 000060_cleanup_universal_plans.up.sql} (100%) rename internal/database/postgres/migrations/{000057_cleanup_universal_plans_test.go => 000060_cleanup_universal_plans_test.go} (100%) diff --git a/internal/database/postgres/migrations/000057_cleanup_universal_plans.down.sql b/internal/database/postgres/migrations/000060_cleanup_universal_plans.down.sql similarity index 100% rename from internal/database/postgres/migrations/000057_cleanup_universal_plans.down.sql rename to internal/database/postgres/migrations/000060_cleanup_universal_plans.down.sql diff --git a/internal/database/postgres/migrations/000057_cleanup_universal_plans.up.sql b/internal/database/postgres/migrations/000060_cleanup_universal_plans.up.sql similarity index 100% rename from internal/database/postgres/migrations/000057_cleanup_universal_plans.up.sql rename to internal/database/postgres/migrations/000060_cleanup_universal_plans.up.sql diff --git a/internal/database/postgres/migrations/000057_cleanup_universal_plans_test.go b/internal/database/postgres/migrations/000060_cleanup_universal_plans_test.go similarity index 100% rename from internal/database/postgres/migrations/000057_cleanup_universal_plans_test.go rename to internal/database/postgres/migrations/000060_cleanup_universal_plans_test.go