WordPress.org

Make WordPress Core

Ticket #9471: schema.patch

File schema.patch, 972 bytes (added by scribu, 9 years ago)

Make post_parent accept neggative values

  • wp-admin/includes/schema.php

     
    129129  post_modified datetime NOT NULL default '0000-00-00 00:00:00',
    130130  post_modified_gmt datetime NOT NULL default '0000-00-00 00:00:00',
    131131  post_content_filtered text NOT NULL,
    132   post_parent bigint(20) unsigned NOT NULL default '0',
     132  post_parent bigint(40) NOT NULL default '0',
    133133  guid varchar(255) NOT NULL default '',
    134134  menu_order int(11) NOT NULL default '0',
    135135  post_type varchar(20) NOT NULL default 'post',
  • wp-includes/version.php

     
    1515 *
    1616 * @global int $wp_db_version
    1717 */
    18 $wp_db_version = 11548;
     18$wp_db_version = 11549;
    1919
    2020/**
    2121 * Holds the TinyMCE version