reference rails migration code example
Example 1: Add references rails migration
rails g migration AddUserToUploads user:references
Example 2: how create migration rails
rails g migration AddPartNumberToProducts
rails g migration AddUserToUploads user:references
rails g migration AddPartNumberToProducts