issue #2016 save search in history

This commit is contained in:
plegall
2023-10-02 12:28:01 +02:00
parent 727d9b4001
commit b5c9ca4819
7 changed files with 43 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
<?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 = 'Create new column search_id in visits history table.';
pwg_query('ALTER TABLE `'.PREFIX_TABLE.'history` ADD COLUMN `search_id` int(10) unsigned default NULL AFTER `category_id`;');
echo "\n".$upgrade_description."\n";
?>