Sha256: b8d2b9af0444d3e9f7a5d07675a565875b8c13a474b796868dd70bfdf3c4a3b8

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

class SetConsideredRiskyDefaultValue < ActiveRecord::Migration
  def change
    change_column_default(:spree_orders, :considered_risky, true) if Spree::Order.column_names.include? "considered_risky"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_signifyd-1.1.0 db/migrate/20140826202644_set_considered_risky_default_value.rb
solidus_signifyd-1.0.1 db/migrate/20140826202644_set_considered_risky_default_value.rb
solidus_signifyd-1.0.0 db/migrate/20140826202644_set_considered_risky_default_value.rb
solidus_signifyd-0.1.1 db/migrate/20140826202644_set_considered_risky_default_value.rb