discourse/db/migrate/20151201161726_add_incoming_email_to_groups.rb

7 lines
194 B
Ruby
Raw Normal View History

2016-04-01 05:33:25 +08:00
class AddIncomingEmailToGroups < ActiveRecord::Migration
def change
add_column :groups, :incoming_email, :string, null: true
add_index :groups, :incoming_email, unique: true
end
end