Redesign database