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