1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

meta tables

Discussion in 'XenForo Suggestions' started by LPH, Apr 23, 2016.

  1. LPH

    LPH Well-Known Member

    I'm finding one of the advantages to adding post or user information to WordPress is the use of meta tables. This means I never modify a core table. Instead, a meta key/value pair is added to an existing meta table.

    For example, if an add-on requires parent ID for a XenForo post then currently I'd need to add to the core table or create my own table. Instead, if there was a post_meta table then it would allow me to add any additional information about the post that I'd want to code in an add-on without worrying about the core tables.

    Suggesting
    post_meta
    thread_meta
    page_meta
    user_meta
    report_meta

    They would be empty on installation and look similar in structure to this.

    Screen Shot 2016-04-23 at 10.58.51 AM.png

    Just a thought for XenForo 2.0.
     
    Mouth and Tracy Perry like this.

Share This Page