Sha256: afb1aeea3aca017130d77a60e544adcd329928fb701247f390a74fa26d86a9c5
Contents?: true
Size: 520 Bytes
Versions: 5
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true class GiveMeBigNumbers < ActiveRecord::Migration::Current 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: 20 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
5 entries across 5 versions & 1 rubygems