add db structure