Change visit_id type of ahoy_events to integer
The id column of the visits table is of type integer
This commit is contained in:
parent
c21c9af60f
commit
364be55412
2 changed files with 7 additions and 2 deletions
|
|
@ -0,0 +1,5 @@
|
|||
class ChangeVisitIdTypeOfAhoyEventsToInteger < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
change_column :ahoy_events, :visit_id, :integer, limit: nil
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue