Sha256: 39f5d8a623cc0aa3241cf423cff08e0dc4047b5aa588faf88ff26a47dff55ab3

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

class ChangeDiscountablesAddObserver < ActiveRecord::Migration
  def self.up
    add_column :shop_discountables, :created_by, :integer
    add_column :shop_discountables, :created_at, :datetime
    add_column :shop_discountables, :updated_by, :integer
    add_column :shop_discountables, :updated_at, :datetime
  end

  def self.down
    remove_column :shop_discountables, :created_by
    remove_column :shop_discountables, :created_at
    remove_column :shop_discountables, :updated_at
    remove_column :shop_discountables, :updated_by
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-shop-extension-0.11.6 db/migrate/20101010130034_change_discountables_add_observer.rb