Sha256: ba4da94e10d9e2e4121cd81326b8d0c9063dd22f9885d15a99f44c788d2389eb
Contents?: true
Size: 463 Bytes
Versions: 4
Compression:
Stored size: 463 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| t.string :name t.string :email t.integer :category_id 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
4 entries across 4 versions & 1 rubygems