You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
364 B

class AddDeviceToPlayers < ActiveRecord::Migration[8.1]
def change
# Coarse device class -- "mobile", "tablet" or "desktop" -- classified from
# the User-Agent when the player starts. Nil for players created before this
# existed, and for anything we cannot place.
add_column :players, :device, :string
add_index :players, :device
end
end