2013-05-27 Ramon Novoa <rnovoa@artica.es>

* pandoradb.sql: Updated data types to allow 64bit integers to be
	  stored in tagente_datos and tagente_datos_inc.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2013-05-27 10:53:52 +00:00
parent 554fc18435
commit b442ad8c7a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-05-27 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Updated data types to allow 64bit integers to be
stored in tagente_datos and tagente_datos_inc.
2013-05-24 Sergio Martin <sergio.martin@artica.es> 2013-05-24 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css * include/styles/pandora.css

View File

@ -92,7 +92,7 @@ CREATE TABLE IF NOT EXISTS `tagente` (
-- ----------------------------------------------------- -- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `tagente_datos` ( CREATE TABLE IF NOT EXISTS `tagente_datos` (
`id_agente_modulo` int(10) unsigned NOT NULL default '0', `id_agente_modulo` int(10) unsigned NOT NULL default '0',
`datos` double(18,2) default NULL, `datos` double(22,2) default NULL,
`utimestamp` bigint(20) default '0', `utimestamp` bigint(20) default '0',
KEY `data_index1` (`id_agente_modulo`), KEY `data_index1` (`id_agente_modulo`),
KEY `idx_utimestamp` USING BTREE (`utimestamp`) KEY `idx_utimestamp` USING BTREE (`utimestamp`)
@ -103,7 +103,7 @@ CREATE TABLE IF NOT EXISTS `tagente_datos` (
-- ----------------------------------------------------- -- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `tagente_datos_inc` ( CREATE TABLE IF NOT EXISTS `tagente_datos_inc` (
`id_agente_modulo` int(10) unsigned NOT NULL default '0', `id_agente_modulo` int(10) unsigned NOT NULL default '0',
`datos` double(18,2) default NULL, `datos` double(22,2) default NULL,
`utimestamp` int(20) unsigned default '0', `utimestamp` int(20) unsigned default '0',
KEY `data_inc_index_1` (`id_agente_modulo`) KEY `data_inc_index_1` (`id_agente_modulo`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;