mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Drop reply_key, skipped and skipped_reason from email_logs.
This commit is contained in:
@@ -241,9 +241,12 @@ Migration::ColumnDropper.drop(
|
||||
|
||||
Migration::ColumnDropper.drop(
|
||||
table: 'email_logs',
|
||||
after_migration: 'DropTopicIdOnEmailLogs',
|
||||
after_migration: 'DropReplyKeySkippedSkippedReasonFromEmailLogs',
|
||||
columns: %w{
|
||||
topic_id
|
||||
reply_key
|
||||
skipped
|
||||
skipped_reason
|
||||
},
|
||||
on_drop: ->() {
|
||||
STDERR.puts "Removing superflous email_logs columns!"
|
||||
|
||||
Reference in New Issue
Block a user