Adding sql design.