Sha256: 426003625d2043f8aeaa185030ddbb69b642fd34ca9b56c990a3b4dc4c5cccd9

Contents?: true

Size: 498 Bytes

Versions: 214

Compression:

Stored size: 498 Bytes

Contents

class GiveMeBigNumbers < ActiveRecord::Migration
  def self.up
    create_table :big_numbers do |table|
      table.column :bank_balance, :decimal, :precision => 10, :scale => 2
      table.column :big_bank_balance, :decimal, :precision => 15, :scale => 2
      table.column :world_population, :decimal, :precision => 10
      table.column :my_house_population, :decimal, :precision => 2
      table.column :value_of_e, :decimal
    end
  end

  def self.down
    drop_table :big_numbers
  end
end

Version data entries

214 entries across 211 versions & 29 rubygems

Version Path
backlog-0.7.1 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.10 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.12 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.11 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.2 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.3 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.5 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.4 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.6 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.7 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.8 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.7.9 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.8.0 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.9.0 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.8.1 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
backlog-0.9.1 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
radiant-0.6.1 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
radiant-0.6.0 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
radiant-0.6.2 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb
radiant-0.6.3 vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb