Sha256: b4ab6b7cb6361eaa4ab9a51002802bc4cb004de55260e40dd9dbdfe3b70f26ff

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

class AddVerificationAttemptColumn < ActiveRecord::Migration
  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

1 entries across 1 versions & 1 rubygems

Version Path
devise_security_extension-0.10.0 test/dummy/db/migrate/20150407162345_add_verification_attempt_column.rb