mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 06:53:46 +08:00
9 lines
180 B
Ruby
9 lines
180 B
Ruby
|
class FixNotificationData < ActiveRecord::Migration
|
||
|
def up
|
||
|
execute "UPDATE notifications SET data = replace(data, 'thread_title', 'topic_title')"
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|