def prepare
      require 'request_log_analyzer/database'

      @sources = {}
      @database = RequestLogAnalyzer::Database.new(options[:database])
      @database.file_format = source.file_format

      database.drop_database_schema! if options[:reset_database]
      database.create_database_schema!
    end
def prepare
      require 'request_log_analyzer/database'

      @sources = {}
      @database = RequestLogAnalyzer::Database.new(options[:database])
      @database.file_format = source.file_format

      database.drop_database_schema! if options[:reset_database]
      database.create_database_schema!
    end
Establishes a connection to the database and creates the necessary database schema for the
 current file format