Make WordPress Core


Ignore:
Timestamp:
12/09/2005 07:04:12 PM (19 years ago)
Author:
ryan
Message:

TEXT fields cannot have defaults. #1953

File:
1 edited

Legend:

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

    r3243 r3281  
    66  cat_name varchar(55) NOT NULL default '',
    77  category_nicename varchar(200) NOT NULL default '',
    8   category_description longtext NOT NULL default '',
     8  category_description longtext NOT NULL,
    99  category_parent bigint(20) NOT NULL default '0',
    1010  category_count bigint(20) NOT NULL default '0',
     
    6161  link_updated datetime NOT NULL default '0000-00-00 00:00:00',
    6262  link_rel varchar(255) NOT NULL default '',
    63   link_notes mediumtext NOT NULL default '',
     63  link_notes mediumtext NOT NULL,
    6464  link_rss varchar(255) NOT NULL default '',
    6565  PRIMARY KEY  (link_id),
     
    106106  post_title text NOT NULL,
    107107  post_category int(4) NOT NULL default '0',
    108   post_excerpt text NOT NULL default '',
     108  post_excerpt text NOT NULL,
    109109  post_status enum('publish','draft','private','static','object','attachment') NOT NULL default 'publish',
    110110  comment_status enum('open','closed','registered_only') NOT NULL default 'open',
     
    112112  post_password varchar(20) NOT NULL default '',
    113113  post_name varchar(200) NOT NULL default '',
    114   to_ping text NOT NULL default '',
    115   pinged text NOT NULL default '',
     114  to_ping text NOT NULL,
     115  pinged text NOT NULL,
    116116  post_modified datetime NOT NULL default '0000-00-00 00:00:00',
    117117  post_modified_gmt datetime NOT NULL default '0000-00-00 00:00:00',
    118   post_content_filtered text NOT NULL default '',
     118  post_content_filtered text NOT NULL,
    119119  post_parent bigint(20) NOT NULL default '0',
    120120  guid varchar(255) NOT NULL default '',
Note: See TracChangeset for help on using the changeset viewer.