discourse/db/post_migrate/20190716124050_remove_via_e...

14 lines
279 B
Ruby

# frozen_string_literal: true
require 'migration/column_dropper'
class RemoveViaEmailFromInvite < ActiveRecord::Migration[5.2]
def up
Migration::ColumnDropper.execute_drop(:invites, %i{via_email})
end
def down
raise ActiveRecord::IrreversibleMigration
end
end