creating a migration to add changes to exisitng table code example
Example: rails g migration add columns
$ rails generate migration AddDetailsToProducts part_number:string price:decimal
$ rails generate migration AddDetailsToProducts part_number:string price:decimal