Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

rails g migration add columns

$ rails generate migration AddDetailsToProducts part_number:string price:decimal
Source by guides.rubyonrails.org #
 
PREVIOUS NEXT
Tagged: #rails #migration #add #columns
ADD COMMENT
Topic
Name
1+7 =