anchor.diff:  
   get_empty_index(Mapper, IndexOn) ->
       [{Mapper:lookup(I), ""} || I <- IndexOn].
  -
  -%% empty IndexOn
  -handle_term_index(_, _, _, _, []) ->
  -    ok;
  -handle_term_index(DB, ?TERM_INDEX_TABLE,  _, _, _IndexOn) ->
  +    
  +get_ttl_registry() ->
       Fun =
   	fun(#enterdb_table{name = Name, map = Map}, Acc) ->
   	    Tid = ?TABLE_LOOKUP:lookup(Name),
  
positive.code:     case enterdb_db:transaction(
  	fun() -> mnesia:foldl(Fun, [], enterdb_table) end) of
  	{atomic, KVL} ->
  	    rocksdb:add_index_ttl(DB, KVL);
  	{error, Reason} ->
  	    {error, Reason}
      end;
  handle_term_index(_, Subdir, Tid, TTL, _IndexOn) ->
      enterdb_index_update:register_ttl(Subdir, Tid, TTL).
  
negative.code: 
  do_make_options(?TERM_INDEX_TABLE, OptionsPL)->
      {ok, Opts, COpts} = do_make_options("", OptionsPL),
      {ok, KVL} = get_ttl_registry(),
      {ok, Opts, [{"term_index", KVL} | COpts]};
  do_make_options(_, OptionsPL)->
      {ok, Rest, CLOpts} = get_cl_opts(OptionsPL),
      {ok, Opts} = rocksdb:options(Rest),
  