Changeset 265 for trunk/wp-admin/upgrade-071-to-072.php
- Timestamp:
- 07/23/2003 12:26:03 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade-071-to-072.php
r260 r265 71 71 <?php 72 72 break; 73 74 73 74 case 1: 75 75 ?> 76 76 <h1>Step 1</h1> 77 <p>There are some changes we need to make to the links tables with this version, so lets get those out of 78 the way.</p> 79 <?php 80 $error_count = 0; 81 $tablename = $tablelinks; 82 $ddl = "ALTER TABLE $tablelinks ADD COLUMN link_notes MEDIUMTEXT NOT NULL DEFAULT '' "; 83 maybe_add_column($tablename, 'link_notes', $ddl); 84 if (check_column($tablelinks, 'link_notes', 'mediumtext')) { 85 $res .= $tablename . ' - ok <br />'; 86 } else { 87 $res .= 'There was a problem with ' . $tablename . '<br />'; 88 ++$error_count; 89 } 90 ?> 91 <p>OK, that wasn't too bad was it? Let's move on to <a href="<?php echo $thisfile;?>?step=2">step 2</a>!</p> 92 93 <?php 94 case 2: 95 ?> 96 <h1>Step 2</h1> 77 97 <p>There are a few new database tables with this version, so lets get those out of 78 98 the way.</p>
Note: See TracChangeset
for help on using the changeset viewer.