update versions Ruby and Rails and adding new database - PostgreSQL

like this? 

class CreateUsers < ActiveRecord::Migration
  def change
  end
end