anchor.diff:                          _ ->    ok
                       end,
                       throw(Reason)
  -            end;
  +            end,
  +            imem_cache:clear({?MODULE, trigger, schema(), TableName});
           _ ->
               try        
                   % ?Info("creating table with opts ~p ~p ~n", [TableName,if_opts(Opts)]),
                   imem_if:create_table(TableName, column_names(ColInfos), if_opts(Opts) ++ [{user_properties, [DDTableRow]}]),
  -                % ?Info("register alias and table ~p ~p~n", [TableAlias, TableName]),
                   imem_if:write(ddTable, DDTableRow),
  -                imem_if:write(ddAlias, DDAliasRow),
  -                imem_cache:clear({?MODULE, trigger, schema(), TableAlias}),
  -                % ?Info("clear trigger cache for table ~p ~n", [TableName]),
  -                imem_cache:clear({?MODULE, trigger, schema(), TableName})
  +                imem_if:write(ddAlias, DDAliasRow)
               catch
                   _:{'ClientError',{"Table already exists",TableName}} = Reason ->
                       case imem_if:read(ddTable, {schema(),TableName}) of
  
positive.code:     case TableName of
          ddAlias ->  
              % ?Info("creating table with opts ~p ~p ~n", [TableName,if_opts(Opts)]),
              imem_if:create_table(TableName, column_names(ColInfos), if_opts(Opts) ++ [{user_properties, [DDTableRow]}]),
              % ?Info("clear trigger cache for table ~p ~n", [TableName]),
              imem_cache:clear({?MODULE, trigger, schema(), TableName});
          TableAlias ->
              try
                  % ?Info("creating table with opts ~p ~p ~n", [TableName,if_opts(Opts)]),
                  imem_if:create_table(TableName, column_names(ColInfos), if_opts(Opts) ++ [{user_properties, [DDTableRow]}]),
                  % ?Info("register table ~p ~n", [TableName]),
                  imem_if:write(ddTable, DDTableRow),
                  % ?Info("clear trigger cache for table ~p ~n", [TableName]),
                  imem_cache:clear({?MODULE, trigger, schema(), TableName})
              catch
                  _:{'ClientError',{"Table already exists",TableName}} = Reason ->
                      case imem_if:read(ddTable, {schema(),TableName}) of
  
negative.code:                         _ ->    ok
                      end,
                      throw(Reason)
              end,
              imem_cache:clear({?MODULE, trigger, schema(), TableAlias}),
              imem_cache:clear({?MODULE, trigger, schema(), TableName})
      end.
  
  create_table_sys_conf(TableName, ColumnInfos, Opts, Owner) ->
  