Clean data db structure