method

column_exists?

column_exists?(column_name, type = nil, options = {})
public

Checks to see if a column exists. See SchemaStatements#column_exists?