mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
25 lines
815 B
PHP
25 lines
815 B
PHP
<?php
|
|
// +-----------------------------------------------------------------------+
|
|
// | This file is part of Piwigo. |
|
|
// | |
|
|
// | For copyright and license information, please view the COPYING.txt |
|
|
// | file that was distributed with this source code. |
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
if (!defined('PHPWG_ROOT_PATH'))
|
|
{
|
|
die('Hacking attempt!');
|
|
}
|
|
|
|
$upgrade_description = 'add auth_key_id in history table';
|
|
|
|
// we use PREFIX_TABLE, in case Piwigo uses an external user table
|
|
pwg_query('
|
|
ALTER TABLE `'.PREFIX_TABLE.'history`
|
|
ADD COLUMN `auth_key_id` int(11) unsigned DEFAULT NULL
|
|
;');
|
|
|
|
echo "\n".$upgrade_description."\n";
|
|
|
|
?>
|