Error in ActiveMigration Documentation

In the API docs at
ActiveRecord::Migration, its
listed
that add_column takes two parameters. Migration seems to error on that
with
“wrong number of arguments (2 for 3)” as you need to add a type as a
parameter which makes complete sense, but is unfortunately undocumented.

Tony