mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: Store EmailLog#reply_key as uuid data type.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AlterReplyKeyOnEmailLogs < ActiveRecord::Migration[5.2]
|
||||
def up
|
||||
change_column :email_logs, :reply_key, 'uuid USING reply_key::uuid'
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :email_logs, :reply_key, :string
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user