Sha256: 50c8974fb613468cb728e89db8deb3dadeae6a413d7685a62bd19f539acdde00
Contents?: true
Size: 434 Bytes
Versions: 26
Compression:
Stored size: 434 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| t.string :name t.string :email t.string :encrypted_password, :limit=>48 t.string :password_salt, :limit=>42 t.decimal :money_spent, :precision=>10, :scale=>2 t.decimal :money_gifted, :precision=>10, :scale=>2 t.float :average_rating end end def self.down drop_table :users end end
Version data entries
26 entries across 26 versions & 1 rubygems