How can I define a column of type char instead of varchar

I tried this in my migration:

t.column :password_hash, :char, :limit=>40, :null=>false

but it generate a column of type ‘char(1)’, it seems that
:limit does not take effect. So how can I define a column
of type ‘char(40)’, thanks:)

Ok, it seems the following works…
t.column :password_hash, ‘char(40)’, :null=>false