mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
2009-12-29 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: upps, too small, in huge systems could give a problem in the autoinsert ID. * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed a broken line that make problems in our upgrade script. Added upgrade for update manager from 2.x to 3.0 version URL. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d94199b7df
commit
8616146e8f
@ -1,5 +1,12 @@
|
|||||||
2009-12-29 Sancho Lerena <slerena@artica.es>
|
2009-12-29 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* pandoradb.sql: upps, too small, in huge systems could give a
|
||||||
|
problem in the autoinsert ID.
|
||||||
|
|
||||||
|
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed a broken line
|
||||||
|
that make problems in our upgrade script. Added upgrade for
|
||||||
|
update manager from 2.x to 3.0 version URL.
|
||||||
|
|
||||||
* include/Image/image_functions.php: PHP 5.2 and higher does
|
* include/Image/image_functions.php: PHP 5.2 and higher does
|
||||||
not support (deprecated) get_mimetype. Avoiding headers lets
|
not support (deprecated) get_mimetype. Avoiding headers lets
|
||||||
the browser to decide contents of stream and now this works
|
the browser to decide contents of stream and now this works
|
||||||
|
@ -18,9 +18,7 @@ ALTER TABLE `tagente_datos` DROP `timestamp`, DROP `id_agente`;
|
|||||||
ALTER TABLE `tagente_datos_inc` DROP `timestamp`;
|
ALTER TABLE `tagente_datos_inc` DROP `timestamp`;
|
||||||
ALTER TABLE `tagente_datos_string` DROP `timestamp`, DROP `id_agente`;
|
ALTER TABLE `tagente_datos_string` DROP `timestamp`, DROP `id_agente`;
|
||||||
ALTER TABLE `tagente_estado` DROP `cambio`;
|
ALTER TABLE `tagente_estado` DROP `cambio`;
|
||||||
ALTER TABLE `tagente_estado` ADD `status_changes` TINYINT( 4 ) NOT
|
ALTER TABLE `tagente_estado` ADD `status_changes` TINYINT( 4 ) NOT NULL DEFAULT '0', ADD `last_status` TINYINT( 4 ) NOT NULL DEFAULT '0';
|
||||||
NULL DEFAULT '0', ADD `last_status` TINYINT( 4 ) NOT NULL DEFAULT
|
|
||||||
'0';
|
|
||||||
ALTER TABLE `tagente_estado` ADD INDEX ( `current_interval` );
|
ALTER TABLE `tagente_estado` ADD INDEX ( `current_interval` );
|
||||||
ALTER TABLE `tagente_estado` ADD INDEX ( `running_by` );
|
ALTER TABLE `tagente_estado` ADD INDEX ( `running_by` );
|
||||||
ALTER TABLE `tagente_estado` ADD INDEX ( `last_execution_try` );
|
ALTER TABLE `tagente_estado` ADD INDEX ( `last_execution_try` );
|
||||||
@ -302,3 +300,8 @@ ALTER TABLE tplanned_downtime ADD `id_group` mediumint(8) unsigned NULL default
|
|||||||
|
|
||||||
ALTER TABLE `pandora`.`tagente` MODIFY COLUMN `nombre` VARCHAR(100) BINARY CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '';
|
ALTER TABLE `pandora`.`tagente` MODIFY COLUMN `nombre` VARCHAR(100) BINARY CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '';
|
||||||
|
|
||||||
|
|
||||||
|
-- Dec 2009
|
||||||
|
|
||||||
|
UPDATE tupdate_settings SET `value` = "/pandoraupdate3/server.php" WHERE `key` = "update_server_path";
|
||||||
|
|
||||||
|
@ -612,7 +612,7 @@ CREATE TABLE IF NOT EXISTS `tserver` (
|
|||||||
-- TODO: drop 2.x xxxx_server fields, unused since server_type exists.
|
-- TODO: drop 2.x xxxx_server fields, unused since server_type exists.
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `tsesion` (
|
CREATE TABLE IF NOT EXISTS `tsesion` (
|
||||||
`ID_sesion` bigint(4) unsigned NOT NULL auto_increment,
|
`ID_sesion` bigint(20) unsigned NOT NULL auto_increment,
|
||||||
`ID_usuario` varchar(60) NOT NULL default '0',
|
`ID_usuario` varchar(60) NOT NULL default '0',
|
||||||
`IP_origen` varchar(100) NOT NULL default '',
|
`IP_origen` varchar(100) NOT NULL default '',
|
||||||
`accion` varchar(100) NOT NULL default '',
|
`accion` varchar(100) NOT NULL default '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user