[wp-trac] [WordPress Trac] #12832: Use the same data type for site statuses

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 24 16:29:37 UTC 2010


#12832: Use the same data type for site statuses
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |       Owner:  database   
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Multisite     |     Version:  3.0        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 Replying to [comment:3 wpmuguru]:
 > There are plugins that set some of those flags to something other than 0
 or 1. If there is a consensus to change this to make them a consistent
 datatype then the archived flag should be changed to a tinyint.

 I agree. We eliminated enum fields in 2.5, this one should go too.

 I'm leaving this in 3.0 because I think we need to make some wider
 adjustments. Any suggestions on how we can improve MS schema upgrades?

 Is there a reason for install_network() to be pluggable? Or specifically,
 for the table definitions to be pluggable?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12832#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list