Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
157 views

1 Answer

0 votes
by
The numbers (postid in the database) go up with every post - question, answer or comment - so not every number in sequence refers to a question.
by
okay. got it now; any reason for using same variable for question, answer and comments?
by
Numbers might also be skipped because of deleted questions. The ID is probably auto-incrementing so will just keep going up without filling in the gaps. As your previous question showed, it doesn't matter since there is scope for billions of questions/answers/comments.

Re using the same table: I assume it's because questions and answers (and comments to an extent) share much of the same data structure, e.g. ID, text, votes and so on. So it's simpler to put them in one single table.
by
Thanks for the explanation!

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

July 15, 2020: Q2A 1.8.5 released!

Categories

...