time is a reserved mysql keyword

I've added `time` to prevent any issue with mysql query