Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Rename migration for base amount

Klaus Zandersf667aa555e27
diff --git a/modules/budgets/db/migrate/20250714142919_add_supplementary_amount_to_budget.rb b/modules/budgets/db/migrate/20250714142919_add_base_amount_to_budget.rb
similarity index 95%
rename from modules/budgets/db/migrate/20250714142919_add_supplementary_amount_to_budget.rb
rename to modules/budgets/db/migrate/20250714142919_add_base_amount_to_budget.rb
index 9af7e0b8710..7e3951ca60c 100644
--- a/modules/budgets/db/migrate/20250714142919_add_supplementary_amount_to_budget.rb
+++ b/modules/budgets/db/migrate/20250714142919_add_base_amount_to_budget.rb
@@ -28,7 +28,7 @@
# See COPYRIGHT and LICENSE files for more details.
#++
-class AddSupplementaryAmountToBudget < ActiveRecord::Migration[8.0]
+class AddBaseAmountToBudget < ActiveRecord::Migration[8.0]
def change
add_column :budgets, :base_amount, :decimal, precision: 20, scale: 2, null: false, default: "0.0"
add_column :budget_journals, :base_amount, :decimal, precision: 20, scale: 2, null: false, default: "0.0"