Sha256: 496f7386dcccc0383a4fabcc84758496b289fb289a8a55b8bef4440fbeee4460

Contents?: true

Size: 233 Bytes

Versions: 3

Compression:

Stored size: 233 Bytes

Contents

class AddVerificationAttemptColumn < MIGRATION_CLASS
  def self.up
    add_column :users, :paranoid_verification_attempt, :integer, default: 0
  end

  def self.down
    remove_column :users, :paranoid_verification_attempt
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise-security-0.12.0 test/dummy/db/migrate/20150407162345_add_verification_attempt_column.rb
devise-security-0.11.1 test/dummy/db/migrate/20150407162345_add_verification_attempt_column.rb
devise-security-0.11.0 test/dummy/db/migrate/20150407162345_add_verification_attempt_column.rb