tab/db/migrate/20190508192738_create_android_device_registration_tokens.rb

11 lines
268 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
2019-05-11 13:20:06 +00:00
t.belongs_to :user, foreign_key: true, type: :integer
t.timestamps
end
end
end