Skip to content

Commit

Permalink
Add UPGRADING.md to cover the breaking changes from PR devise-two-fac…
Browse files Browse the repository at this point in the history
  • Loading branch information
QuinnWilton committed Sep 16, 2015
1 parent b8a8929 commit d4797c8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Guide to upgrading from 1.x to 2.x

Pull request #43 added a new field to protect against "shoulder-surfing" attacks. If upgrading, you'll need to add the `:consumed_timestep` column to your `Users` model.

```ruby
class AddConsumedTimestepToUsers < ActiveRecord::Migration
def change
add_column :users, :consumed_timestep, :integer
end
end
```

0 comments on commit d4797c8

Please sign in to comment.