class CreateUsers < ActiveRecord::Migration def self.up options = { :options => "DEFAULT_CHAR_SET=utf8" } create_table :users do |t| t.column :name, :string t.column :hashed_passwd, :string t.column :salt, :string t.timestamps end end def self.down drop_table :users end end