WordPress.org

Make WordPress Core

Changeset 6732


Ignore:
Timestamp:
02/05/08 21:05:56 (8 years ago)
Author:
ryan
Message:

Enum to varchar. fixes #4778

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r6729 r6732  
    4646  comment_content text NOT NULL, 
    4747  comment_karma int(11) NOT NULL default '0', 
    48   comment_approved enum('0','1','spam') NOT NULL default '1', 
     48  comment_approved varchar(20) NOT NULL default '1', 
    4949  comment_agent varchar(255) NOT NULL default '', 
    5050  comment_type varchar(20) NOT NULL default '', 
     
    6464  link_category bigint(20) NOT NULL default '0', 
    6565  link_description varchar(255) NOT NULL default '', 
    66   link_visible enum('Y','N') NOT NULL default 'Y', 
     66  link_visible varchar(20) NOT NULL default 'Y', 
    6767  link_owner int(11) NOT NULL default '1', 
    6868  link_rating int(11) NOT NULL default '0', 
     
    8080  option_name varchar(64) NOT NULL default '', 
    8181  option_value longtext NOT NULL, 
    82   autoload enum('yes','no') NOT NULL default 'yes', 
     82  autoload varchar(20) NOT NULL default 'yes', 
    8383  PRIMARY KEY  (option_id,blog_id,option_name), 
    8484  KEY option_name (option_name) 
     
    102102  post_category int(4) NOT NULL default '0', 
    103103  post_excerpt text NOT NULL, 
    104   post_status enum('publish','draft','private','static','object','attachment','inherit','future', 'pending') NOT NULL default 'publish', 
    105   comment_status enum('open','closed','registered_only') NOT NULL default 'open', 
    106   ping_status enum('open','closed') NOT NULL default 'open', 
     104  post_status varchar(20) NOT NULL default 'publish', 
     105  comment_status varchar(20) NOT NULL default 'open', 
     106  ping_status varchar(20) NOT NULL default 'open', 
    107107  post_password varchar(20) NOT NULL default '', 
    108108  post_name varchar(200) NOT NULL default '', 
  • trunk/wp-includes/version.php

    r6729 r6732  
    1717 * @global int $wp_db_version 
    1818 */ 
    19 $wp_db_version = 6730; 
     19$wp_db_version = 6731; 
    2020 
    2121?> 
Note: See TracChangeset for help on using the changeset viewer.