Answered: What is "updatetype" in table "qa_posts"

Post date: 2020-02-16 10:04:23
Views: 144

Welcome Midriaz!

Fortunately, the answer is in the code.

Its meaning, from qa-include/db/install.php:207:

'updatetype' => 'CHAR(1) CHARACTER SET ascii', // what was done to this part - see /qa-include/app/updates.php


Its possible values, from qa-include/app/updates.php:37:

// Character codes for the different types of updates on a post (updatetype columns)

define('QA_UPDATE_CATEGORY', 'A'); // questions only, category changed

define('QA_UPDATE_CLOSED', 'C'); // questions only, closed or reopened
define('QA_UPDATE_CONTENT', 'E'); // title or content edited
define('QA_UPDATE_PARENT', 'M'); // e.g. comment moved when converting its parent answer to a comment
define('QA_UPDATE_SELECTED', 'S'); // answers only, removed if unselected
define('QA_UPDATE_TAGS', 'T'); // questions only
define('QA_UPDATE_TYPE', 'Y'); // e.g. answer to comment
define('QA_UPDATE_VISIBLE', 'H'); // hidden or reshown


I hope you find this information helpful.

Please click Here to read the full story.
 
Other Top and Latest Questions:
Senate passes reauthorization of a key U.S. surveillance program after midnight deadline
Here's what 12 European Central Bank members said about interest rates this week
strap
Movie: Saved!
Top Chef: Supper Club
Frieren: Beyond Journey's End: The World Of Magic
Buy these five stocks ahead of earnings before it's too late, Bank of America says
This Ohio cabin was just named one of the top 10 vacation rentals in the world—check it out
Tesla recalls Cybertruck over 'trapped pedal' issue seen in owner's viral TikTok video
If you’re investing in the AI theme for the long haul, here’s how to pick the winners