Sha256: c7da80b6208c35d122618cb241cfdb1e21402ad0b391cfada0dcb0eb6eac3906
Contents?: true
Size: 438 Bytes
Versions: 13
Compression:
Stored size: 438 Bytes
Contents
# frozen_string_literal: true # NOTE: This migration is only required if you use the API integration strategy. # If you're using the XML file instead, you can safely skip these columns. class AddBactracsApiSyncFields < ActiveRecord::Migration[5.2] def change if !ActiveRecord::Base.connection.column_exists?(:spree_shipments, :bactracs_synced_at) add_column :spree_shipments, :bactracs_synced_at, :datetime end end end
Version data entries
13 entries across 13 versions & 1 rubygems