Changeset 768
- Timestamp:
- 01/12/04 22:27:22 (5 years ago)
- Files:
-
- trunk/wp-admin/upgrade-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/upgrade-functions.php
r763 r768 494 494 maybe_add_column($tablelinks, 'link_rss', "ALTER TABLE `$tablelinks` ADD `link_rss` VARCHAR( 255 ) NOT NULL;"); 495 495 maybe_add_column($tableusers, 'user_description', "ALTER TABLE `$tableusers` ADD `user_description` TEXT NOT NULL"); 496 maybe_add_column($tablecomments, 'comment_approved', "ALTER TABLE $tablecomments ADD COLUMN comment_approved ENUM('0', '1') DEFAULT '1' NOT NULL"); 496 497 497 498 // Create indicies … … 500 501 add_clean_index($tablecomments, 'comment_approved'); 501 502 502 if (maybe_add_column($tablecomments, 'comment_approved', "ALTER TABLE $tablecomments ADD COLUMN comment_approved ENUM('0', '1') DEFAULT '1' NOT NULL")) {503 }504 503 505 504 // Options stuff
