mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 13:39:36 -06:00
c0c263405a
PERF: Store `EmailLog#bounce_key` as `uuid` data type.
10 lines
226 B
Ruby
10 lines
226 B
Ruby
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
|