[buddypress-trac] [BuddyPress Trac] #6350: XProfile field database schema

buddypress-trac noreply at wordpress.org
Sun Apr 5 03:37:04 UTC 2015


#6350: XProfile field database schema
----------------------------------+----------------------------------
 Reporter:  johnjamesjacoby       |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  low                   |   Milestone:  Under Consideration
Component:  Component - XProfile  |     Version:  1.0
 Severity:  minor                 |  Resolution:
 Keywords:  2nd-opinion           |
----------------------------------+----------------------------------

Comment (by johnjamesjacoby):

 Improvements are initially organizational.
 * Eliminate dedicated table for field groups
 * Field groups become a type of field called `group` similar to `option`
 like we have now
 * The fields table currently has two duplicate columns for exactly the
 same use-case, only one is for fields and the other is for field-options,
 which are also technically just a custom field type
 * Code consolidation and simplification. What we have now is akin to
 having two separate database tables for both pages and posts. Because
 field groups, fields, and field options are basically the same things with
 different defined areas in the hierarchy, we can better represent that
 data structure in 1 table with fewer columns.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6350#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list