Photos table stuff that I forgot to commit from last night