public void addFriend(String username, String friendsUsername) throws SQLException {
    Connection databaseConnection = database.getConnection();
    Statement statement = databaseConnection.createStatement();
    String query = String.format(ADD_FRIEND, username, friendsUsername, friendsUsername, username);
    statement.executeUpdate(query);
  }