Sha256: b5375aa85f1489e3666cd3d6c993b5638c253f7fdc2a522d87871df9e7051f64

Contents?: true

Size: 539 Bytes

Versions: 2

Compression:

Stored size: 539 Bytes

Contents

# This migration comes from spree (originally 20150806190833)
class AddIdAndTimestampToPromotionRuleUser < ActiveRecord::Migration
  def up
    add_column :spree_promotion_rules_users, :id, :primary_key
    add_column :spree_promotion_rules_users, :created_at, :datetime
    add_column :spree_promotion_rules_users, :updated_at, :datetime
  end

  def down
    remove_column :spree_promotion_rules_users, :updated_at
    remove_column :spree_promotion_rules_users, :created_at
    remove_column :spree_promotion_rules_users, :id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103612_add_id_and_timestamp_to_promotion_rule_user.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112564_add_id_and_timestamp_to_promotion_rule_user.spree.rb