anchor.diff:      ets:insert(?TOKEN_TAB, Token).
   
   delete(#token{id = Id, channel_id = ChannelId}) ->
  -    ets:delete(?TOKEN_TAB, Id),
  -    ets:delete(?CHAN_TOKEN_TAB, index_key(ChannelId, Id)).
  +    ets:delete(?CHAN_TOKEN_TAB, index_key(ChannelId, Id)),
  +    case ets:delete(?TOKEN_TAB, Id) of
  +        false -> false;
  +        true ->
  +            redis_helper:delete_token(Id),
  +            true
  +    end.
   
   delete_by_id(Id) ->
       case lookup(Id) of
  
positive.code: 
  -export([store/1
           ,create/2
           ,destroy/1
           ,create_ets_table/0
           ,reindex_tokens/1
           ,reindex_tokens/0
  
negative.code:             Err
      end.
  
  lookup(TokenId) when is_binary(TokenId) ->
      case ets:lookup(?TOKEN_TAB, TokenId) of
          [Token] when is_record(Token, token) ->
  