discourse/db/migrate/20220124003259_add_email_from_alias_to_groups.rb
Martin Brennan 0a738bd5bc
FEATURE: Allow sending group SMTP emails with from alias (#15687)
This commit allows group SMTP emails to be sent with a
different from email address that has been set up as an
alias in the email provider. Emails from the alias will
be grouped correctly using Message-IDs in the mail client,
and replies to the alias go into the correct group inbox.
2022-02-07 13:52:01 +10:00

8 lines
180 B
Ruby

# frozen_string_literal: true
class AddEmailFromAliasToGroups < ActiveRecord::Migration[6.1]
def change
add_column :groups, :email_from_alias, :string, null: true
end
end