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

Version Path
migrant-1.3.2 test/verified_output/migrations/create_users.rb
migrant-1.3.1 test/verified_output/migrations/create_users.rb
migrant-1.3.0 test/verified_output/migrations/create_users.rb
migrant-1.2.8 test/verified_output/migrations/create_users.rb
migrant-1.2.7 test/verified_output/migrations/create_users.rb
migrant-1.2.5 test/verified_output/migrations/create_users.rb
migrant-1.2.2 test/verified_output/migrations/create_users.rb
migrant-1.2.1 test/verified_output/migrations/create_users.rb
migrant-1.2.0 test/verified_output/migrations/create_users.rb
migrant-1.1.2 test/verified_output/migrations/create_users.rb
migrant-1.1.1 test/verified_output/migrations/create_users.rb
migrant-1.1.0 test/verified_output/migrations/create_users.rb
migrant-1.0.2 test/verified_output/migrations/create_users.rb
migrant-1.0.1 test/verified_output/migrations/create_users.rb
migrant-1.0.0 test/verified_output/migrations/create_users.rb
migrant-0.2.4 test/verified_output/migrations/create_users.rb
migrant-0.2.3 test/verified_output/migrations/create_users.rb
migrant-0.2.2 test/verified_output/migrations/create_users.rb
migrant-0.2.1 test/verified_output/migrations/create_users.rb
migrant-0.2.0 test/verified_output/migrations/create_users.rb