Sha256: 5c38b285a3197de5219a976ab1178c318045bd8a64a0c1029f28f6fb5d3b733d

Contents?: true

Size: 330 Bytes

Versions: 32

Compression:

Stored size: 330 Bytes

Contents

class AddFeeToTicketsAndDonations < ActiveRecord::Migration
  def change
    add_column :tickets, :service_fee, :integer, :default => 0
    add_column :donations, :service_fee, :integer, :default => 0
    add_column :items, :service_fee, :integer, :default => 0
    rename_column :orders, :service_fee, :old_service_fee
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.11 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.10 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.9 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.8 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.7 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.6 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.5 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.4 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.3 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.2 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre.1 db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb
artfully_ose-1.2.0.pre db/migrate/20130827190839_add_fee_to_tickets_and_donations.rb