aboutsummaryrefslogtreecommitdiffstats
path: root/install/upgrade_1.5.0.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-11-09 22:13:33 +0000
committerplegall <plg@piwigo.org>2006-11-09 22:13:33 +0000
commit1233f248ed20795c544441c5ebd97e344462c70a (patch)
tree3e0594904d0bf4dedfad9cfccd3391698897b478 /install/upgrade_1.5.0.php
parente4606c00b04bb58e18fdf744567d1d329658719d (diff)
New: upgrade script from 1.6.0 (or 1.6.1) to 1.6.2.
#user_infos.auto_login_key is added in upgrade_1.6.0.php instead of upgrade_1.5.0.php. Bug fixed: the database structure dump was starting with a "1", very interesting typo! Bug fixed: the database structure dump was adding #user_infos.auto_login_key nullable while the upgrade file was adding it not nullable. git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1599 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/upgrade_1.5.0.php')
-rw-r--r--install/upgrade_1.5.0.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/install/upgrade_1.5.0.php b/install/upgrade_1.5.0.php
index 8707c981f..2f69ffe10 100644
--- a/install/upgrade_1.5.0.php
+++ b/install/upgrade_1.5.0.php
@@ -468,9 +468,6 @@ ALTER TABLE '.PREFIX_TABLE.'users
}
}
-$query = '
-ALTER TABLE '.PREFIX_TABLE.'users
- ADD auto_login_key varchar(64) NOT NULL
-;';
-pwg_query($query);
+// now we upgrade from 1.6.0 to 1.6.2
+include_once(PHPWG_ROOT_PATH.'install/upgrade_1.6.0.php');
?>