fixed user id field that default creates is as integer whilst we us uuid

This commit is contained in:
Mike Sutton 2021-10-11 14:45:48 +02:00
parent 4f9dad26a4
commit f233284e0c

View File

@ -6,7 +6,7 @@ class CreateWalterHistories < ActiveRecord::Migration[5.0]
t.string :controller_name
t.string :action_name
t.string :tour_name
t.references :creator, null: false, index: true
t.string :creator_id, null: false, index: true
t.timestamps index: true
end