add db structure template