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
ibm_db-3.0.4-x86-mingw32 test/migrations/decimal/1_give_me_big_numbers.rb
ibm_db-3.0.4 test/migrations/decimal/1_give_me_big_numbers.rb
ibm_db-3.0.3-x86-mingw32 test/migrations/decimal/1_give_me_big_numbers.rb
ibm_db-3.0.3 test/migrations/decimal/1_give_me_big_numbers.rb
ibm_db-3.0.2-x86-mingw32 test/migrations/decimal/1_give_me_big_numbers.rb
ibm_db-3.0.2 test/migrations/decimal/1_give_me_big_numbers.rb
activejob-lock-0.0.2 rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
ibm_db-3.0.1 test/migrations/decimal/1_give_me_big_numbers.rb
ibm_db-3.0.1-x86-mingw32 test/migrations/decimal/1_give_me_big_numbers.rb
activejob-lock-0.0.1 rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
3mix-castronaut-0.5.0.2 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
masover-castronaut-0.4.4.4 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
masover-castronaut-0.4.4.5 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
masover-castronaut-0.5.0.1 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
p8-castronaut-0.6.1.1 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
relevance-castronaut-0.4.1 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
relevance-castronaut-0.4.2 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
relevance-castronaut-0.4.3 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
relevance-castronaut-0.4.4 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb
relevance-castronaut-0.4.5 vendor/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb