From 051cd9a265387c6c4d71d32bf419d7a9f5923957 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Sat, 11 May 2019 15:20:06 +0200 Subject: [PATCH] Workaround --- .../20190508192738_create_android_device_registration_tokens.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20190508192738_create_android_device_registration_tokens.rb b/db/migrate/20190508192738_create_android_device_registration_tokens.rb index 75ee080..95d55c5 100644 --- a/db/migrate/20190508192738_create_android_device_registration_tokens.rb +++ b/db/migrate/20190508192738_create_android_device_registration_tokens.rb @@ -2,7 +2,7 @@ class CreateAndroidDeviceRegistrationTokens < ActiveRecord::Migration[5.2] def change create_table :android_device_registration_tokens do |t| t.string :token - t.belongs_to :user, foreign_key: true + t.belongs_to :user, foreign_key: true, type: :integer t.timestamps end