how to create a migration in rails code example
Example 1: how create migration rails
rails g migration AddPartNumberToProducts
Example 2: ruby on rails db migrate
rails db:migrate
rails g migration AddPartNumberToProducts
rails db:migrate