Sha256: f2f0c967cccf346253bffa1da167b51a19b56a31c807b9aca575171213e341c7
Contents?: true
Size: 435 Bytes
Versions: 13
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true class RenameBactracsColumnsInSpreeShipment < ActiveRecord::Migration[5.2] def change if ( ActiveRecord::Base.connection.column_exists?(:spree_shipments, :backtracs_sync_verified_at) && !ActiveRecord::Base.connection.column_exists?(:spree_shipments, :bactracs_sync_verified_at)) rename_column :spree_shipments, :backtracs_sync_verified_at, :bactracs_sync_verified_at end end end
Version data entries
13 entries across 13 versions & 1 rubygems