Sha256: 02a28f065769da03dae8f39eb1b481aeb8caf61493d88d7c04f433c51cefa80b

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

class AddAvataxCompanyCodeToSpreeStores < SpreeExtension::Migration[4.2]
  def change
    return unless table_exists? :spree_stores
    return if column_exists? :spree_stores, :avatax_company_code

    add_column :spree_stores, :avatax_company_code, :string
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_avatax_official-1.8.0 db/migrate/20190208130136_add_avatax_company_code_to_spree_stores.rb
spree_avatax_official-1.7.1 db/migrate/20190208130136_add_avatax_company_code_to_spree_stores.rb