Sha256: 09c851532932ad031e6fd49c4d4434cabee96b5e5dbf52dce965108aa519c532

Contents?: true

Size: 314 Bytes

Versions: 12

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

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

12 entries across 12 versions & 1 rubygems

Version Path
solidus_auth_devise-2.5.9 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.8 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.7 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.6 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.5 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.4 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.3 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.2 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.1 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.5.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.4.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
solidus_auth_devise-2.3.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb