Finished db structure