Skip to content

Commit

Permalink
Add example migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mikker committed Nov 7, 2023
1 parent 59c7e77 commit 096e732
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ Sessions are now referenced publicly by a random UUID instead of their primary k

This needs a manual database migration like so:

...TODO
```ruby
class AddIndentifierToPasswordlessSessions < ActiveRecord::Migration[7.1]
def change
add_column(:passwordless_sessions, :identifier, :string)
add_index(:passwordless_sessions, :identifier, unique: true)
end
end
```

### Added

Expand Down

0 comments on commit 096e732

Please sign in to comment.