From abb2732a56598d75750fb83a729b95296df7e431 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Sun, 31 Dec 2023 12:39:32 +0200 Subject: [PATCH] db: Rename DB migrations source files to include version not date Date is useless because work on database migration may start several months before it is merged to the main repository. What is important and useful is the version of Buildbot that the database changes first appeared in. --- ..._2021-09-07_alembic_initial.py => 059_v3.4_alembic_initial.py} | 0 ...5_add_builder_projects.py => 060_v3.9_add_builder_projects.py} | 0 ...ption_format.py => 061_v3.9_add_builder_description_format.py} | 0 ...ption_format.py => 062_v3.9_add_project_description_format.py} | 0 ...ks_acquired_at.py => 063_v3.10_add_steps_locks_acquired_at.py} | 0 ...orker_pause_reason.py => 064_v3.10_add_worker_pause_reason.py} | 0 ...built_buildid.py => 065_v4.0_add_buildsets_rebuilt_buildid.py} | 0 ...locks_duration_s.py => 066_v4.0_add_build_locks_duration_s.py} | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename master/buildbot/db/migrations/versions/{059_2021-09-07_alembic_initial.py => 059_v3.4_alembic_initial.py} (100%) rename master/buildbot/db/migrations/versions/{060_2023-04-15_add_builder_projects.py => 060_v3.9_add_builder_projects.py} (100%) rename master/buildbot/db/migrations/versions/{061_2023-06-03_add_builder_description_format.py => 061_v3.9_add_builder_description_format.py} (100%) rename master/buildbot/db/migrations/versions/{062_2023-06-03_add_project_description_format.py => 062_v3.9_add_project_description_format.py} (100%) rename master/buildbot/db/migrations/versions/{063_2023-08-15_add_steps_locks_acquired_at.py => 063_v3.10_add_steps_locks_acquired_at.py} (100%) rename master/buildbot/db/migrations/versions/{064_2023-10-29_add_worker_pause_reason.py => 064_v3.10_add_worker_pause_reason.py} (100%) rename master/buildbot/db/migrations/versions/{065_2023-12-07_add_buildsets_rebuilt_buildid.py => 065_v4.0_add_buildsets_rebuilt_buildid.py} (100%) rename master/buildbot/db/migrations/versions/{066_2023-11-28_add_build_locks_duration_s.py => 066_v4.0_add_build_locks_duration_s.py} (100%) diff --git a/master/buildbot/db/migrations/versions/059_2021-09-07_alembic_initial.py b/master/buildbot/db/migrations/versions/059_v3.4_alembic_initial.py similarity index 100% rename from master/buildbot/db/migrations/versions/059_2021-09-07_alembic_initial.py rename to master/buildbot/db/migrations/versions/059_v3.4_alembic_initial.py diff --git a/master/buildbot/db/migrations/versions/060_2023-04-15_add_builder_projects.py b/master/buildbot/db/migrations/versions/060_v3.9_add_builder_projects.py similarity index 100% rename from master/buildbot/db/migrations/versions/060_2023-04-15_add_builder_projects.py rename to master/buildbot/db/migrations/versions/060_v3.9_add_builder_projects.py diff --git a/master/buildbot/db/migrations/versions/061_2023-06-03_add_builder_description_format.py b/master/buildbot/db/migrations/versions/061_v3.9_add_builder_description_format.py similarity index 100% rename from master/buildbot/db/migrations/versions/061_2023-06-03_add_builder_description_format.py rename to master/buildbot/db/migrations/versions/061_v3.9_add_builder_description_format.py diff --git a/master/buildbot/db/migrations/versions/062_2023-06-03_add_project_description_format.py b/master/buildbot/db/migrations/versions/062_v3.9_add_project_description_format.py similarity index 100% rename from master/buildbot/db/migrations/versions/062_2023-06-03_add_project_description_format.py rename to master/buildbot/db/migrations/versions/062_v3.9_add_project_description_format.py diff --git a/master/buildbot/db/migrations/versions/063_2023-08-15_add_steps_locks_acquired_at.py b/master/buildbot/db/migrations/versions/063_v3.10_add_steps_locks_acquired_at.py similarity index 100% rename from master/buildbot/db/migrations/versions/063_2023-08-15_add_steps_locks_acquired_at.py rename to master/buildbot/db/migrations/versions/063_v3.10_add_steps_locks_acquired_at.py diff --git a/master/buildbot/db/migrations/versions/064_2023-10-29_add_worker_pause_reason.py b/master/buildbot/db/migrations/versions/064_v3.10_add_worker_pause_reason.py similarity index 100% rename from master/buildbot/db/migrations/versions/064_2023-10-29_add_worker_pause_reason.py rename to master/buildbot/db/migrations/versions/064_v3.10_add_worker_pause_reason.py diff --git a/master/buildbot/db/migrations/versions/065_2023-12-07_add_buildsets_rebuilt_buildid.py b/master/buildbot/db/migrations/versions/065_v4.0_add_buildsets_rebuilt_buildid.py similarity index 100% rename from master/buildbot/db/migrations/versions/065_2023-12-07_add_buildsets_rebuilt_buildid.py rename to master/buildbot/db/migrations/versions/065_v4.0_add_buildsets_rebuilt_buildid.py diff --git a/master/buildbot/db/migrations/versions/066_2023-11-28_add_build_locks_duration_s.py b/master/buildbot/db/migrations/versions/066_v4.0_add_build_locks_duration_s.py similarity index 100% rename from master/buildbot/db/migrations/versions/066_2023-11-28_add_build_locks_duration_s.py rename to master/buildbot/db/migrations/versions/066_v4.0_add_build_locks_duration_s.py