why down method is empty? down method is used when the migrations are reversed.down method is kept empty only in special cases else not.In your case it should contain

rename_column :resources, :resource_type, :type