Sha256: 510a9f73ad9122aabcbd15d4c3613beeca995dde9c60208349a6e4ac2f44c53e

Contents?: true

Size: 482 Bytes

Versions: 21

Compression:

Stored size: 482 Bytes

Contents

class AddIdAndTimestampToPromotionRuleUser < ActiveRecord::Migration[4.2]
  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

21 entries across 21 versions & 1 rubygems

Version Path
solidus_core-2.0.0.beta1 db/migrate/20150806190833_add_id_and_timestamp_to_promotion_rule_user.rb