Sha256: 6b936c84999ecd813b7e2771adc4391e14238feecad07fbde67df6ced225dbe0
Contents?: true
Size: 331 Bytes
Versions: 5
Compression:
Stored size: 331 Bytes
Contents
class ChangeVendorizedModelsVendorIdType < ActiveRecord::Migration[4.2] def change SpreeMultiVendor.vendorized_models.each do |klass| change_column klass.table_name, :vendor_id, :bigint rescue message = "Could not change vendor_id column for spree_#{klass}" Rails.logger.error message end end end
Version data entries
5 entries across 5 versions & 2 rubygems