[wp-trac] [WordPress Trac] #4778: Change enums to varchar
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 20 05:43:57 GMT 2007
#4778: Change enums to varchar
----------------------------+-----------------------------------------------
Reporter: ryan | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3 (trunk)
Component: Administration | Version: 2.3
Severity: normal | Keywords: schema enum db
----------------------------+-----------------------------------------------
Drop enums from the schema in favor of the more portable and flexible
varchar. I think we can just change all occurrences of enum in schema.php
to varchar(20). This will allow plugins to add new post status values,
for example, without having to do an alter table to change the enum.
--
Ticket URL: <http://trac.wordpress.org/ticket/4778>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list