time is a reserved mysql keyword

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