Updated database schema with messageTime field.