Sha256: 515d5afc2bff8d6111a58ddd421f4fe942583f4e271bbeffdd70d982f5328e64

Contents?: true

Size: 230 Bytes

Versions: 6

Compression:

Stored size: 230 Bytes

Contents

class CouponStartsAt < ActiveRecord::Migration
  def self.up
    change_table :coupons do |t|
      t.datetime :starts_at
    end
  end

  def self.down
    chnage_table :coupons do |t|
      t.remove :starts_at
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 db/migrate/20090823005402_coupon_starts_at.rb
spree-0.9.4 db/migrate/20090823005402_coupon_starts_at.rb
spree-0.9.3 db/migrate/20090823005402_coupon_starts_at.rb
spree-0.9.2 db/migrate/20090823005402_coupon_starts_at.rb
spree-0.9.1 db/migrate/20090823005402_coupon_starts_at.rb
spree-0.9.0 db/migrate/20090823005402_coupon_starts_at.rb