lib/travis/logs/helpers/database.rb
def connect
          @db.test_connection
          @db << "SET application_name = 'logs'"
          prepare_statements
        end
# This method should only be called for "maintenance" tasks (such as
# creating the tables or debugging).
This method should only be called for "maintenance" tasks (such as
creating the tables or debugging).
This method should only be called for " maintenance " tasks ( such as creating the tables or debugging ) .
def connect
          @db.test_connection
          @db << "SET application_name = 'logs'"
          prepare_statements
        end
def connect @db . test_connection @db << "SET application_name = 'logs'" prepare_statements end
This method should only be called for "maintenance" tasks (such as
creating the tables or debugging).
This method should only be called for " maintenance " tasks ( such as creating the tables or debugging ) .