anchor.diff:  %% where 'record_name' is the name of the record. 'some_record' is an example.
   -define(dao_record_info(R),
       case R of
  -        some_record         -> ?record_info_gen(some_record);   %example record from dao common.hrl
  +        some_record         -> ?record_info_gen(some_record);
           cm_state            -> ?record_info_gen(cm_state);
           host_state          -> ?record_info_gen(host_state);
           node_state          -> ?record_info_gen(node_state);
  
positive.code: -define(EXPIRED_FUSE_SESSIONS_VIEW, #view_info{name = "expired_fuse_sessions", design = ?FUSE_SESSIONS_DESIGN_NAME, db_name = ?SYSTEM_DB_NAME}).
  -define(FUSE_SESSIONS_BY_USER_ID_VIEW, #view_info{name = "fuse_sessions_by_user_id", design = ?FUSE_SESSIONS_DESIGN_NAME, db_name = ?SYSTEM_DB_NAME}).
  
  %% List of all used databases :: [string()]
  -define(DB_LIST, [?SYSTEM_DB_NAME, ?FILES_DB_NAME, ?DESCRIPTORS_DB_NAME, ?USERS_DB_NAME]).
  %% List of all used views :: [#view_info]
  -define(VIEW_LIST, [?FILE_TREE_VIEW, ?WAITING_FILES_TREE_VIEW, ?FILE_SUBDIRS_VIEW, ?FD_BY_FILE_VIEW, ?FD_BY_EXPIRED_BEFORE_VIEW, ?ALL_STORAGE_VIEW,
      ?FILES_BY_UID_AND_FILENAME, ?FILE_META_BY_TIMES, ?FILES_BY_META_DOC,
      ?USER_BY_EMAIL_VIEW, ?USER_BY_LOGIN_VIEW, ?USER_BY_DN_VIEW, ?USER_BY_UID_VIEW, ?STORAGE_BY_ID_VIEW,
      ?SHARE_BY_FILE_VIEW, ?SHARE_BY_USER_VIEW, ?USER_FILES_NUMBER_VIEW, ?USER_FILES_SIZE_VIEW, ?GROUP_FILES_NUMBER_VIEW,
      ?FUSE_CONNECTIONS_VIEW, ?EXPIRED_FUSE_SESSIONS_VIEW, ?FUSE_SESSIONS_BY_USER_ID_VIEW]).
  %% Default database name
  -define(DEFAULT_DB, lists:nth(1, ?DB_LIST)).
  
  %% Do not try to read this macro (3 nested list comprehensions). All it does is:
  %% Create an list containing #db_info structures base on ?DB_LIST
  %% Inside every #db_info, list of #design_info is created based on views list (?VIEW_LIST)
  %% Inside every #design_info, list of #view_info is created based on views list (?VIEW_LIST)
  %% Such structural representation of views, makes it easier to initialize views in DBMS
  %% WARNING: Do not evaluate this macro anywhere but dao_worker:init/cleanup because it's
  %% potentially slow - O(db_count * view_count^2)
  -define(DATABASE_DESIGN_STRUCTURE, [#db_info{name = DbName,
      designs = [#design_info{name = DesignName,
  
negative.code: -define(USER_BY_LOGIN_DESIGN_NAME, "user_by_login").
  -define(USER_BY_EMAIL_DESIGN_NAME, "user_by_email").
  -define(USER_BY_DN_DESIGN_NAME, "user_by_dn").
  -define(USER_BY_UNVERIFIED_DN_DESIGN_NAME, "user_by_unverified_dn").
  -define(USER_BY_UID_DESIGN_NAME, "user_by_uid").
  -define(SHARE_BY_FILE_DESIGN_NAME, "share_by_file").
  -define(SHARE_BY_USER_DESIGN_NAME, "share_by_user").
  