Sha256: 4e961dc3f24b8b32b92203dc3d20d6051d2e00e3cf4e814252cc05daa0095e34
Contents?: true
Size: 216 Bytes
Versions: 1
Compression:
Stored size: 216 Bytes
Contents
class UseDecimalForInvoiceCode < ActiveRecord::Migration def up change_column :bookings, :code, :decimal, :scale => 0, :precision => 100 end def down change_column :bookings, :code, :integer end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
has_accounts-3.1.0 | db/migrate/20161018190258_use_decimal_for_booking_code.rb |