From f233284e0c0c6da269eb097e82052fb04f30cfd7 Mon Sep 17 00:00:00 2001 From: Mike Sutton Date: Mon, 11 Oct 2021 14:45:48 +0200 Subject: [PATCH] fixed user id field that default creates is as integer whilst we us uuid --- lib/generators/walter/templates/migration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators/walter/templates/migration.rb b/lib/generators/walter/templates/migration.rb index c02c107..8d2ad1c 100644 --- a/lib/generators/walter/templates/migration.rb +++ b/lib/generators/walter/templates/migration.rb @@ -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