create_table(:username, :options => ''ENGINE=MyISAM DEFAULT
CHARSET=utf8'') do |table|
table.column :name, :string
# THE LINE BELOW FAILS
table.column :tag, :set
...
...
end
Hello all,
I''d like to make a set column with the create_table method.
I''ve googled
around some, but did not find an answer. Is this possible with
create_method? I am using mysql. I''ve never used set columns before. I
wanted to experiment with storing tags in the database and I thought
that the set type would be ideal... but I may be wrong on that :)
Thanks,
Brad
--
Posted via http://www.ruby-forum.com/.