discourse/db/migrate/20151201161726_add_incoming_email_to_groups.rb

7 lines
199 B
Ruby
Raw Normal View History

class AddIncomingEmailToGroups < ActiveRecord::Migration[4.2]
2015-12-07 19:39:28 +08:00
def change
add_column :groups, :incoming_email, :string, null: true
add_index :groups, :incoming_email, unique: true
end
end