mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 01:32:23 +08:00
9 lines
185 B
Ruby
9 lines
185 B
Ruby
class FixNotificationData < ActiveRecord::Migration[4.2]
|
|
def up
|
|
execute "UPDATE notifications SET data = replace(data, 'thread_title', 'topic_title')"
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|