Recent Topics

[2.x] What table are posts stored in?

Started by on Mar 06, 2008 – Contents updated: Mar 06, 2008

Mar 06, 2008 19:45    

My b2evolution Version: 2.0.4-rc2

I don't see the table T_posts when I do a 'show tables' command in mysql. Am I missing something? Where are the posts stored?

Here are the tables I see:
http://www.freewebs.com/welzie/images/b2-tables.jpg

Mar 06, 2008 21:30

Thanks sam2kb. I would have never thought to look in that table.

I wonder why the table name doesn't have the word post or posts in it?

Mar 06, 2008 21:38

Who knows, I'm not a dev :)

Mar 06, 2008 21:45

Here's a guess: not all posts are posts anymore :)

Some are "pages" and some are "links" though I don't know what "links" does yet, and you can make up your own 'type' for the things we add via the write tab.

Sure: they're all "posts" in a technical sort of way but they don't all show up in lists of posts (pages for example), so a mechanism was needed to differentiate between all the different types of items one might create via the write tab.


Form is loading...

Advanced CMS – This forum is powered by b2evolution CMS, a complete engine for your website.