From 1a2674ad6b2adc29745fa0ca25cd3bd54bbac6d6 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 25 Jan 2023 01:57:13 +0000 Subject: [PATCH] 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 --- .../20221214173537_add_select_project_publicity_permission.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5