Sha256: d79d7b38c9594b4c95507ee6ca120be684b83ff21d8eb8140944d7c7ed203b52
Contents?: true
Size: 705 Bytes
Versions: 2
Compression:
Stored size: 705 Bytes
Contents
# This migration comes from spree (originally 20150824213633) class ConvertHabtmToHmtForShippingMethodsZones < ActiveRecord::Migration def up add_column :spree_shipping_methods_zones, :id, :primary_key add_column :spree_shipping_methods_zones, :created_at, :datetime add_column :spree_shipping_methods_zones, :updated_at, :datetime rename_table :spree_shipping_methods_zones, :spree_shipping_method_zones end def down rename_table :spree_shipping_method_zones, :spree_shipping_methods_zones remove_column :spree_shipping_methods_zones, :updated_at remove_column :spree_shipping_methods_zones, :created_at remove_column :spree_shipping_methods_zones, :id end end
Version data entries
2 entries across 2 versions & 1 rubygems