Sha256: 61ebfc1cd2cb33ce4ead4801cfe86cdcec995349a9e1bbeb45a9b91aaabf89c7

Contents?: true

Size: 383 Bytes

Versions: 17

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true
# This migration comes from solidus_auth (originally 20120203010234)

class AddResetPasswordSentAtToSpreeUsers < SolidusSupport::Migration[4.2]
  def change
    Spree::User.reset_column_information
    unless Spree::User.column_names.include?("reset_password_sent_at")
      add_column :spree_users, :reset_password_sent_at, :datetime
    end
  end
end

Version data entries

17 entries across 17 versions & 6 rubygems

Version Path
solidus_auth_devise-2.5.4 spec/dummy/db/migrate/20211112052478_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_reports-1.0.0 spec/dummy/db/migrate/20211108200440_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_auth_devise-2.5.3 spec/dummy/db/migrate/20210129115389_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_auth_devise-2.5.2 spec/dummy/db/migrate/20201006131578_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_auth_devise-2.5.1 spec/dummy/db/migrate/20201006131578_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_auth_devise-2.5.0 spec/dummy/db/migrate/20201006131578_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_reviews-1.4.1 spec/dummy/db/migrate/20200810122144_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_billing_address-0.0.7 spec/dummy/db/migrate/20191128105374_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_billing_address-0.0.6 spec/dummy/db/migrate/20191122155273_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_drip-0.1.0 spec/dummy/db/migrate/20191101230340_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_drip-0.0.1 spec/dummy/db/migrate/20191101230340_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_billing_address-0.0.5 spec/dummy/db/migrate/20191028084786_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_billing_address-0.0.4 spec/dummy/db/migrate/20190926134977_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_billing_address-0.0.3 spec/dummy/db/migrate/20190924075671_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_billing_address-0.0.2 spec/dummy/db/migrate/20190920154661_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_billing_address-0.0.1 spec/dummy/db/migrate/20190823131037_add_reset_password_sent_at_to_spree_users.solidus_auth.rb
solidus_bank_transfer-0.1.0 spec/dummy/db/migrate/20190822093470_add_reset_password_sent_at_to_spree_users.solidus_auth.rb