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