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

Move the migration to storages module

Marcello Rochad652e2ab4989
diff --git a/db/migrate/20231109080454_add_health_info_to_storages.rb b/modules/storages/db/migrate/20231109080454_add_health_info_to_storages.rb
similarity index 53%
rename from db/migrate/20231109080454_add_health_info_to_storages.rb
rename to modules/storages/db/migrate/20231109080454_add_health_info_to_storages.rb
index dfa5c4c4077..f2cb2c76ca5 100644
--- a/db/migrate/20231109080454_add_health_info_to_storages.rb
+++ b/modules/storages/db/migrate/20231109080454_add_health_info_to_storages.rb
@@ -1,5 +1,5 @@
class AddHealthInfoToStorages < ActiveRecord::Migration[7.0]
def change
- add_column :storages, :health_info, :jsonb, default: {}
+ add_column :storages, :health_info, :jsonb, null: false, default: {}
end
end