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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Set a default mail_notification on down migration
Oliver Günther2f6765520596
diff --git a/db/migrate/20210618132206_add_notification_settings.rb b/db/migrate/20210618132206_add_notification_settings.rbindex 97ad8dc26b6..29b1ead0287 100644--- a/db/migrate/20210618132206_add_notification_settings.rb+++ b/db/migrate/20210618132206_add_notification_settings.rb@@ -30,5 +30,8 @@ class AddNotificationSettings < ActiveRecord::Migration[6.1]add_column :users, :mail_notification, :string, default: '', null: falsedrop_table :notification_settings++ User.reset_column_information+ User.update_all(mail_notification: 'only_assigned')endend