[wp-trac] [WordPress Trac] #14558: Separate Database Table Support for Custom Post Types

WordPress Trac noreply at wordpress.org
Sat Aug 1 14:30:29 UTC 2020


#14558: Separate Database Table Support for Custom Post Types
-------------------------------+----------------------
 Reporter:  rahul286           |       Owner:  (none)
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  wontfix
 Keywords:                     |     Focuses:
-------------------------------+----------------------

Comment (by luizarraujoofficial):

 I am 1+ for this to be done.

 I believe that we should return to discuss this matter, when the Ticket
 was opened 10 years ago, the technology worked in a way, the data are not
 with today.

 The database technology has changed, the data as we store today is bigger,
 information comes and goes all the time, customized post types are created
 today to serve a more complex market, and I believe it is time to evolve
 the way wordpress handles the database.

 It is true that some points are worrying, mainly all this legacy that we
 have of standard wordpress structure, but my point of view is geared
 towards implementing and not modifying I believe it would be great to
 create something that we can define natively when we create a custom post
 type.
 We could extend this feature, for example by using a custom table for post
 type, at that time we could also create a custom table for postmeta and
 start storing information horizontally, that is, custom fields would
 become columns so the post_id column would be referencing the table
 posts_custom, and the others like post_field_custom_1,
 post_field_custom_2, post_field_custom_3 ......

 I know that today we can do both with third party resources
 Custom Tables for Posts https://github.com/hannahtinkler/wordpress-custom-
 post-type-tables
 Custom table for postmet https://metabox.io/plugins/mb-custom-table/

 But imagine the world of possibilities having this native in wordpress, I
 believe that we would bring a new wave of developers to the side of
 wordpress.

 Greetings Luiz Araujo

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/14558#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list