X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/544da8ce14e4c4e86c86d741934f4376f5e0707d..8a71be97edd6c5bce99af68574f5b403c258590f:/script/instalacion/generacion_base.sql?ds=sidebyside diff --git a/script/instalacion/generacion_base.sql b/script/instalacion/generacion_base.sql index 2dd20c3..8004742 100644 --- a/script/instalacion/generacion_base.sql +++ b/script/instalacion/generacion_base.sql @@ -1,43 +1,52 @@ --- MySQL dump 8.22 +-- MySQL dump 9.10 -- -- Host: bal747f Database: yatta ---------------------------------------------------------- +-- ------------------------------------------------------ -- Server version 4.0.12-log -use yatta; +-- +-- Table structure for table `cuotas` +-- + +CREATE TABLE cuotas ( + login varchar(20) NOT NULL default '', + cuota smallint(6) NOT NULL default '0', + PRIMARY KEY (login) +) TYPE=MyISAM; -- --- Table structure for table 'procesos' +-- Table structure for table `procesos` -- CREATE TABLE procesos ( - id bigint(20) NOT NULL auto_increment, - fecha date NOT NULL, - script varchar(255) NOT NULL, - id_sistema bigint(20) NOT NULL, - descripcion text NOT NULL, - pid int(10) default NULL, - server int(10) default NULL, - status tinyint(1) default 0, - owner varchar(20) NOT NULL, - destinos varchar(255) default NULL, - prioridad tinyint(1) default 9, - scheduling varchar(50) default NULL, - notificar tinyint(1) default 1, - resultado varchar(255) default NULL, - archivo varchar(255) default NULL, - nota text default NULL, - PRIMARY KEY (id) + id bigint(20) NOT NULL auto_increment, + script varchar(255) NOT NULL default '', + id_sistema bigint(20) NOT NULL default '0', + descripcion text NOT NULL, + pid int(10) default NULL, + server int(10) default NULL, + status tinyint(1) default '0', + owner varchar(20) NOT NULL default '', + destinos varchar(255) default NULL, + prioridad tinyint(1) default '9', + scheduling varchar(50) default NULL, + notificar tinyint(1) default '1', + resultado varchar(255) default NULL, + archivo varchar(255) default NULL, + nota text, + fecha date NOT NULL default '0000-00-00', + activo int(1) default '1', + PRIMARY KEY (id) ) TYPE=MyISAM; -- --- Table structure for table 'servidores' +-- Table structure for table `servidores` -- CREATE TABLE servidores ( - id int(10) NOT NULL auto_increment, - nombre varchar (20) NOT NULL, - escala integer(11) default 9, - procesos int(10) default 0, - PRIMARY KEY (id) + id int(10) NOT NULL auto_increment, + nombre varchar(20) NOT NULL default '', + escala int(11) default NULL, + procesos int(10) default '0', + PRIMARY KEY (id) ) TYPE=MyISAM;