Sha256: e1a937c3d34cb7ac1a791c14759b8ae0675e713cb9e68beb5c0e59bdc313cbe3
Contents?: true
Size: 553 Bytes
Versions: 21
Compression:
Stored size: 553 Bytes
Contents
class ConvertHabtmToHmtForTaxonsPromotionRules < ActiveRecord::Migration[4.2] def up add_column :spree_taxons_promotion_rules, :created_at, :datetime add_column :spree_taxons_promotion_rules, :updated_at, :datetime rename_table :spree_taxons_promotion_rules, :spree_promotion_rule_taxons end def down rename_table :spree_promotion_rule_taxons, :spree_taxons_promotion_rules remove_column :spree_taxons_promotion_rules, :created_at, :datetime remove_column :spree_taxons_promotion_rules, :updated_at, :datetime end end
Version data entries
21 entries across 21 versions & 1 rubygems