Updated SQL scheme of phploc table