Sha256: f099e58ae3dcb2f4d0dfbaf3739345ac0be3fe9c3bfb7c7575389ac72f6d5380

Contents?: true

Size: 167 Bytes

Versions: 4

Compression:

Stored size: 167 Bytes

Contents

class ChangeBookingsAmountToUseDecimalScope < ActiveRecord::Migration
  def up
    change_column :bookings, :amount, :decimal, :precision => 10, :scale => 2
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
has_accounts-2.0.3 db/migrate/20131021123821_change_bookings_amount_to_use_decimal_scope.rb
has_accounts-2.0.2 db/migrate/20131021123821_change_bookings_amount_to_use_decimal_scope.rb
has_accounts-2.0.1 db/migrate/20131021123821_change_bookings_amount_to_use_decimal_scope.rb
has_accounts-2.0.0 db/migrate/20131021123821_change_bookings_amount_to_use_decimal_scope.rb