added db structure sql