summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-01-25 01:57:13 +0000
committerGo MAEDA <maeda@farend.jp>2023-01-25 01:57:13 +0000
commit1a2674ad6b2adc29745fa0ca25cd3bd54bbac6d6 (patch)
tree41e898abd9f55cc7eb45f329196c6c713d03b5a7 /db
parent874cea2b97d9e210bb99373bba99042d2b8dc480 (diff)
downloadredmine-1a2674ad6b2adc29745fa0ca25cd3bd54bbac6d6.tar.gz
redmine-1a2674ad6b2adc29745fa0ca25cd3bd54bbac6d6.zip
Fix the migration version of 20221214173537_add_select_project_publicity_permission.rb (#38048, #38210).
git-svn-id: https://svn.redmine.org/redmine/trunk@22074 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20221214173537_add_select_project_publicity_permission.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20221214173537_add_select_project_publicity_permission.rb b/db/migrate/20221214173537_add_select_project_publicity_permission.rb
index 9b3db0cdc..aed1b07d1 100644
--- a/db/migrate/20221214173537_add_select_project_publicity_permission.rb
+++ b/db/migrate/20221214173537_add_select_project_publicity_permission.rb
@@ -1,4 +1,4 @@
-class AddSelectProjectPublicityPermission < ActiveRecord::Migration[5.2]
+class AddSelectProjectPublicityPermission < ActiveRecord::Migration[6.1]
def up
Role.find_each do |r|
r.add_permission!(:select_project_publicity) if r.permissions.include?(:edit_project)