Is it a good idea to add a column to the posts table?

I’m making a custom theme for a client who has need of two custom post types. I’d like to join them together (it’s a one-on-many connection) and thus was thinking of adding a column to the posts table to store the connection.

Of course I’ve read that I could use the posts_meta table to store extra info about some posts but to be fair, it feels like a roundabout way to do it, especially if you could just store the information in a column.

So I was wondering if adding a column to the standard wp posts table was a good idea or no.

Read more here:: Is it a good idea to add a column to the posts table?

Leave a Reply

Your email address will not be published. Required fields are marked *