FIX: Rename site setting in the database, too.

This commit is contained in:
Robin Ward 2019-07-24 10:59:46 -04:00
parent 0739795f1a
commit 0c729fe8a6
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# frozen_string_literal: true
class RenameStaffNotes < ActiveRecord::Migration[5.2]
def change
execute "UPDATE site_settings SET name = 'user_notes_enabled' WHERE name = 'staff_notes_enabled'"
end
end