Sha256: 0b051c2bbc28230e32aa7714d72087238687edb3194787c448659e316f5f3994

Contents?: true

Size: 293 Bytes

Versions: 17

Compression:

Stored size: 293 Bytes

Contents

class AddResetPasswordSentAtToSpreeUsers < SpreeExtension::Migration[4.2]
  def change
    Spree.user_class.reset_column_information
    unless Spree.user_class.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 & 1 rubygems

Version Path
spree_auth_devise-4.6.3 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.6.2 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.6.1 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.6.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.5.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.4.2 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.1.1 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.2.1 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.4.1 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.4.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.3.4 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.3.3 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.3.2 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.3.1 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.3.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.2.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb
spree_auth_devise-4.1.0 db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb