Skip to content

Commit

Permalink
Updated migration version in example [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 17, 2023
1 parent 4a8bd92 commit 673c233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Order.joins(:ahoy_visit).group("device_type").count
Here’s what the migration to add the `ahoy_visit_id` column should look like:

```ruby
class AddAhoyVisitToOrders < ActiveRecord::Migration[7.0]
class AddAhoyVisitToOrders < ActiveRecord::Migration[7.1]
def change
add_reference :orders, :ahoy_visit
end
Expand Down

0 comments on commit 673c233

Please sign in to comment.