add auto_upgrade to production in database.rb