langs db structure