How do I manually accept an answer in the database?

I want posts from a specific user to be automatically accepted, thus I am doing a db trigger. But first: What exactly do I need to set for the post/thread to be accepted?

I've tried to set askbot_post.approved = 1 and askbot_thread.accepted_answer_id / accepter_answer_at but still no luck.

Cheers

Chesnaught's avatar
21
Chesnaught
asked 2015-05-21 08:32:13 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments