add database test query view names
create indexes of astnode columns if not exist