discourse/db/migrate/20151201161726_add_incoming...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
230 B
Ruby
Raw Normal View History

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