Fixed all the new SQL tables