Workaround
This commit is contained in:
parent
dd9efd0416
commit
051cd9a265
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue