rails g migration CreateDevices
rails g migration CreateEvents