mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 20:33:41 +08:00
7 lines
194 B
Ruby
7 lines
194 B
Ruby
|
class AddIncomingEmailToGroups < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :groups, :incoming_email, :string, null: true
|
||
|
add_index :groups, :incoming_email, unique: true
|
||
|
end
|
||
|
end
|