Changed some default values in pandoradb.oracle.sql.
This commit is contained in:
parent
550f834e34
commit
c5f70a468c
|
@ -57,28 +57,28 @@ CREATE OR REPLACE TRIGGER taddress_agent_inc BEFORE INSERT ON taddress_agent REF
|
|||
CREATE TABLE tagente (
|
||||
id_agente NUMBER(10, 0) PRIMARY KEY,
|
||||
nombre VARCHAR2(600) DEFAULT '',
|
||||
direccion VARCHAR2(100) DEFAULT NULL,
|
||||
direccion VARCHAR2(100) DEFAULT '',
|
||||
comentarios VARCHAR2(255) DEFAULT '',
|
||||
id_grupo NUMBER(10, 0) DEFAULT 0,
|
||||
ultimo_contacto TIMESTAMP DEFAULT NULL,
|
||||
ultimo_contacto TIMESTAMP DEFAULT to_timestamp('1970-01-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss'),
|
||||
modo NUMBER(5, 0) DEFAULT 0,
|
||||
intervalo NUMBER(10, 0) DEFAULT 300,
|
||||
id_os NUMBER(10, 0) DEFAULT 0,
|
||||
os_version VARCHAR2(100) DEFAULT '',
|
||||
agent_version VARCHAR2(100) DEFAULT '',
|
||||
ultimo_contacto_remoto TIMESTAMP DEFAULT NULL,
|
||||
ultimo_contacto_remoto TIMESTAMP DEFAULT to_timestamp('1970-01-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss'),
|
||||
disabled NUMBER(5, 0) DEFAULT 0,
|
||||
id_parent NUMBER(10, 0) DEFAULT 0,
|
||||
custom_id VARCHAR2(255) DEFAULT '',
|
||||
server_name VARCHAR2(100) DEFAULT '',
|
||||
cascade_protection NUMBER(5, 0) DEFAULT 0,
|
||||
--number of hours of diference with the server timezone
|
||||
timezone_offset NUMBER(5, 0) DEFAULT 0 NULL,
|
||||
timezone_offset NUMBER(5, 0) DEFAULT 0,
|
||||
--path in the server to the image of the icon representing the agent
|
||||
icon_path VARCHAR2(127) DEFAULT NULL NULL ,
|
||||
icon_path VARCHAR2(127) DEFAULT '',
|
||||
--set it to one to update the position data (altitude, longitude, latitude) whenetting information from the agent or to 0 to keep the last value and don\'t update it
|
||||
update_gis_data NUMBER(5, 0) DEFAULT 1,
|
||||
url_address CLOB DEFAULT '' NULL,
|
||||
url_address CLOB DEFAULT '',
|
||||
quiet NUMBER(5, 0) DEFAULT 0,
|
||||
normal_count NUMBER(20, 0) DEFAULT 0,
|
||||
warning_count NUMBER(20, 0) DEFAULT 0,
|
||||
|
@ -216,7 +216,7 @@ CREATE TABLE tagente_modulo (
|
|||
plugin_pass CLOB DEFAULT '',
|
||||
plugin_parameter CLOB DEFAULT '',
|
||||
id_plugin NUMBER(10, 0) DEFAULT 0,
|
||||
post_process BINARY_DOUBLE DEFAULT NULL,
|
||||
post_process BINARY_DOUBLE DEFAULT 0,
|
||||
prediction_module NUMBER(19, 0) DEFAULT 0,
|
||||
max_timeout NUMBER(10, 0) DEFAULT 0,
|
||||
max_retries NUMBER(10, 0) DEFAULT 0,
|
||||
|
|
Loading…
Reference in New Issue