From 323c095e3692cd780549c2f47e1507db3c322f67 Mon Sep 17 00:00:00 2001 From: Klaus Zanders Date: Wed, 3 Jun 2026 11:43:29 +0200 Subject: [PATCH] Use real timestamp IDs for resource allocation migrations The migrations used a date plus a fake incrementing hour counter (e.g. 20260602120000, ...130000, ...140000) rather than real timestamps. Those synthetic IDs risk colliding with migrations added elsewhere in the app. Rename them to their actual file creation time: 20260602120000 -> 20260602152805 add_users 20260602130000 -> 20260602152807 create_..._journals 20260602140000 -> 20260602170908 add_filter_name create_resource_allocations already had a real timestamp and is left unchanged. Order and resulting schema are preserved. --- ...ons.rb => 20260602152805_add_users_to_resource_allocations.rb} | 0 ...s.rb => 20260602152807_create_resource_allocation_journals.rb} | 0 ... => 20260602170908_add_filter_name_to_resource_allocations.rb} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename modules/resource_management/db/migrate/{20260602120000_add_users_to_resource_allocations.rb => 20260602152805_add_users_to_resource_allocations.rb} (100%) rename modules/resource_management/db/migrate/{20260602130000_create_resource_allocation_journals.rb => 20260602152807_create_resource_allocation_journals.rb} (100%) rename modules/resource_management/db/migrate/{20260602140000_add_filter_name_to_resource_allocations.rb => 20260602170908_add_filter_name_to_resource_allocations.rb} (100%) diff --git a/modules/resource_management/db/migrate/20260602120000_add_users_to_resource_allocations.rb b/modules/resource_management/db/migrate/20260602152805_add_users_to_resource_allocations.rb similarity index 100% rename from modules/resource_management/db/migrate/20260602120000_add_users_to_resource_allocations.rb rename to modules/resource_management/db/migrate/20260602152805_add_users_to_resource_allocations.rb diff --git a/modules/resource_management/db/migrate/20260602130000_create_resource_allocation_journals.rb b/modules/resource_management/db/migrate/20260602152807_create_resource_allocation_journals.rb similarity index 100% rename from modules/resource_management/db/migrate/20260602130000_create_resource_allocation_journals.rb rename to modules/resource_management/db/migrate/20260602152807_create_resource_allocation_journals.rb diff --git a/modules/resource_management/db/migrate/20260602140000_add_filter_name_to_resource_allocations.rb b/modules/resource_management/db/migrate/20260602170908_add_filter_name_to_resource_allocations.rb similarity index 100% rename from modules/resource_management/db/migrate/20260602140000_add_filter_name_to_resource_allocations.rb rename to modules/resource_management/db/migrate/20260602170908_add_filter_name_to_resource_allocations.rb