def METHOD_NAME(self):
    query = f"""SELECT sequence_name FROM information_schema.sequences WHERE sequence_name LIKE '{self._act_prefix}form_%' OR sequence_name LIKE '{self._act_prefix}workflow_%';"""
    with connection.cursor() as cursor:
        cursor.execute(query, params=None)
        return [row[0] for row in cursor.fetchall()]