Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

insert column rake

class AddEmailToUsers < ActiveRecord::Migration[5.0]
  def change
    add_column :users, :email, :string
  end
end
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #insert #column #rake
ADD COMMENT
Topic
Name
9+4 =