Simplified db structure