From 37c50c6777f5fbe6e4d07876b503dd6975c4da82 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Sat, 16 Sep 2006 16:00:09 +0000 Subject: [PATCH] 2006-09-16 Raul Mateos * Set all timestamp values in pandoradb.sql file to 0000-00-00 00:00:00 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 ++--- pandora_console/pandoradb.sql | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 6cf0ae9b50..bb86fd4523 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,7 +1,6 @@ -2006-09-11 Raul Mateos +2006-09-16 Raul Mateos - * New pandora_doc directory for documents in docbook format. - Very Beta :-D + * Set all timestamp values in pandoradb.sql file to 0000-00-00 00:00:00 2006-09-11 Raul Mateos diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index d7fe984bc2..64f72c836d 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -135,7 +135,7 @@ CREATE TABLE `talert_snmp` ( `oid` varchar(255) NOT NULL default '', `time_threshold` int(11) NOT NULL default '0', `times_fired` int(2) unsigned NOT NULL default '0', - `last_fired` datetime NOT NULL default '2005-01-01 00:00:00', + `last_fired` datetime NOT NULL default '0000-00-00 00:00:00', `max_alerts` int(11) NOT NULL default '1', `min_alerts` int(11) NOT NULL default '1', `internal_counter` int(2) unsigned NOT NULL default '0', @@ -168,7 +168,7 @@ CREATE TABLE `talerta_agente_modulo` ( `dis_max` bigint(12) default NULL, `dis_min` bigint(12) default NULL, `time_threshold` int(11) NOT NULL default '0', - `last_fired` datetime NOT NULL default '2001-01-01 00:00:00', + `last_fired` datetime NOT NULL default '0000-00-00 00:00:00', `max_alerts` int(4) NOT NULL default '1', `times_fired` int(11) NOT NULL default '0', `module_type` int(11) NOT NULL default '0', @@ -284,7 +284,7 @@ CREATE TABLE `tmensajes` ( `id_usuario_origen` varchar(100) NOT NULL default '', `id_usuario_destino` varchar(100) NOT NULL default '', `mensaje` tinytext NOT NULL, - `timestamp` datetime NOT NULL default '2005-01-01 00:00:00', + `timestamp` datetime NOT NULL default '0000-00-00 00:00:00', `subject` varchar(255) NOT NULL default '', `estado` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id_mensaje`)