mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Add missing migration for #40588 that keeps the @wiki_tablesort_enabled@ setting unchanged for existing installations.
git-svn-id: https://svn.redmine.org/redmine/trunk@23828 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
774d58d326
commit
5a198c9057
@ -0,0 +1,8 @@
|
||||
class EnsureWikiTablesortSettingIsStoredInDb < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
unless Setting.where(name: "wiki_tablesort_enabled").exists?
|
||||
setting = Setting.new(:name => "wiki_tablesort_enabled", :value => 1)
|
||||
setting.save!
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user