2019-05-08 21:46:17 +02:00
|
|
|
class CreateAndroidDeviceRegistrationTokens < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
|
|
|
create_table :android_device_registration_tokens do |t|
|
|
|
|
t.string :token
|
2019-05-11 15:20:06 +02:00
|
|
|
t.belongs_to :user, foreign_key: true, type: :integer
|
2019-05-08 21:46:17 +02:00
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|