• Since postmeta contains corresponding data for post; why wordpress has two tables of wp_post and wp_postmeta? why not mixing them to store every data about a post within one single row?

Viewing 1 replies (of 1 total)
  • popper

    (@julialasarte)

    One reason is because you don’t know a priori how many fields of meta a given post will have, since users and plugins both can create additional meta fields for a post, using custom fields and whatnot.

Viewing 1 replies (of 1 total)
  • The topic ‘Wht different tables for post and postmeta’ is closed to new replies.