Create_table and char columns


#1

When I use create_table to make a table :string always makes a varchar
column. How can I make it so that :string will make a char column?

create_table(:accounts, :options => ‘ENGINE=MyISAM DEFAULT’) do |table|

This creates a varchar column, I would like a char column.

table.column :username, :string

end