Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

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
4+1 =