diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-01-18 09:04:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-01-18 09:04:21 +0000 |
commit | 5190fef9d61d20a5911dbeb7a35bdbee5e3c90d8 (patch) | |
tree | 419266fdda4fe99de42aa05d2a0222bf1defb8da /db | |
parent | 73762a7d62faaa98e0c97138150c9be03a8ae4d1 (diff) | |
download | redmine-5190fef9d61d20a5911dbeb7a35bdbee5e3c90d8.tar.gz redmine-5190fef9d61d20a5911dbeb7a35bdbee5e3c90d8.zip |
Fix migration and use Rails 4.2.0 release (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13894 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20091114105931_add_view_issues_permission.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20091114105931_add_view_issues_permission.rb b/db/migrate/20091114105931_add_view_issues_permission.rb index d12b2deed..6f700cd0c 100644 --- a/db/migrate/20091114105931_add_view_issues_permission.rb +++ b/db/migrate/20091114105931_add_view_issues_permission.rb @@ -1,11 +1,13 @@ class AddViewIssuesPermission < ActiveRecord::Migration def self.up + Role.reset_column_information Role.all.each do |r| r.add_permission!(:view_issues) end end def self.down + Role.reset_column_information Role.all.each do |r| r.remove_permission!(:view_issues) end |