Create_table and char columns

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


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs