Make WordPress Core

Changeset 1188


Ignore:
Timestamp:
04/27/2004 02:43:10 PM (21 years ago)
Author:
emc3
Message:

Moved post_parent add into function

File:
1 edited

Legend:

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

    r1185 r1188  
    807807    // Forward-thinking
    808808    $wpdb->query("ALTER TABLE `$tableposts` CHANGE `post_status` `post_status` ENUM( 'publish', 'draft', 'private', 'static' ) DEFAULT 'publish' NOT NULL");
    809 }
    810 
    811809    maybe_add_column($tableposts, 'post_parent', "ALTER TABLE `$tableposts` ADD `post_parent` INT NOT NULL ;");
    812810
     811}
     812
    813813?>
Note: See TracChangeset for help on using the changeset viewer.