Create an instance of the current target in the database

        If a target with the current name and params already exists, no second instance is created.

def create(self):
        """Create an instance of the current target in the database

        If a target with the current name and params already exists, no second instance is created.
        """
        session = client.get_client().create_session()

        if not self._base_query(session).count() > 0:
            # store a new target instance to the database
            marker = ORMTargetMarker(name=self.name,
                                     params=self.params)
            session.add(marker)
            session.commit()

        session.close()