tab/db/migrate/20190508192738_create_android_device_registration_tokens.rb

11 lines
252 B
Ruby
Raw Normal View History

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.timestamps
end
end
end