diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-27 21:25:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-27 21:25:55 +0000 |
commit | 43ba8cf99c88543485aab2df42b9dbabaad46be1 (patch) | |
tree | 210b2d1a11c8a0231dbe743289b720b32483509b | |
parent | 1621ecdb9c2d10c7057c83edd12eee101b250f31 (diff) | |
download | brdo-43ba8cf99c88543485aab2df42b9dbabaad46be1.tar.gz brdo-43ba8cf99c88543485aab2df42b9dbabaad46be1.tar.bz2 |
- Added an update to grow the 'name' field of the variables table. Patch
by Gerhard.
-rw-r--r-- | update.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php index d504f4a7b..fb44352de 100644 --- a/update.php +++ b/update.php @@ -58,7 +58,8 @@ $mysql_updates = array( "2003-09-30" => "update_66", "2003-10-11" => "update_67", "2003-10-20" => "update_68", - "2003-10-22" => "update_69" + "2003-10-22" => "update_69", + "2003-10-27" => "update_70" ); function update_32() { @@ -542,6 +543,10 @@ function update_69() { update_sql("UPDATE {users} SET name = '' WHERE uid = 0;"); } +function update_70() { + update_sql("ALTER TABLE {variable} CHANGE name name varchar(48) NOT NULL"); +} + /* ** System functions */ |