Column thread_id already exists in messages Database updated for threads.