mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
2012-07-06 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql pandoradb.postgreSQL.sql pandoradb.oracle.sql extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql godmode/users/configure_user.php: Changed some last fields of the wizard level, metaconsole access etc. And interface strings for metaconsole access in user edition git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
eb7fa0b7ee
commit
9a71dc64c0
@ -1,3 +1,15 @@
|
|||||||
|
2012-07-06 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* pandoradb.sql
|
||||||
|
pandoradb.postgreSQL.sql
|
||||||
|
pandoradb.oracle.sql
|
||||||
|
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
|
||||||
|
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
|
||||||
|
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
|
||||||
|
godmode/users/configure_user.php: Changed some last fields
|
||||||
|
of the wizard level, metaconsole access etc. And interface
|
||||||
|
strings for metaconsole access in user edition
|
||||||
|
|
||||||
2012-07-06 Sergio Martin <sergio.martin@artica.es>
|
2012-07-06 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* godmode/users/configure_user.php: Added wizard access
|
* godmode/users/configure_user.php: Added wizard access
|
||||||
|
@ -272,7 +272,7 @@ WHERE `token`= 'prominent_time'
|
|||||||
-- Table `tnetwork_component`
|
-- Table `tnetwork_component`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
ALTER TABLE tnetwork_component ADD `wizard_level` enum('basic','advanced','custom') default 'custom';
|
ALTER TABLE tnetwork_component ADD `wizard_level` enum('basic','advanced','custom','nowizard') default 'nowizard';
|
||||||
ALTER TABLE tnetwork_component ADD `only_wizard` tinyint(1) unsigned default '0';
|
ALTER TABLE tnetwork_component ADD `only_wizard` tinyint(1) unsigned default '0';
|
||||||
ALTER TABLE tnetwork_component ADD `field1_desc` text;
|
ALTER TABLE tnetwork_component ADD `field1_desc` text;
|
||||||
ALTER TABLE tnetwork_component ADD `field1_help` text;
|
ALTER TABLE tnetwork_component ADD `field1_help` text;
|
||||||
@ -291,10 +291,10 @@ ALTER TABLE tnetwork_component ADD `field6_help` text;
|
|||||||
-- Table `tagente_modulo`
|
-- Table `tagente_modulo`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
ALTER TABLE tagente_modulo ADD `wizard_level` enum('basic','advanced','custom') default 'custom';
|
ALTER TABLE tagente_modulo ADD `wizard_level` enum('basic','advanced','custom','nowizard') default 'nowizard';
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tusuario`
|
-- Table `tusuario`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
ALTER TABLE tusuario ADD `wizard_access` enum('basic','advanced','custom','all','only_console') default 'only_console';
|
ALTER TABLE tusuario ADD `metaconsole_access` enum('basic','advanced','custom','all','only_console') default 'only_console';
|
||||||
|
@ -275,7 +275,7 @@ WHERE token='prominent_time'
|
|||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
ALTER TABLE tnetwork_component ADD (wizard_level VARCHAR2(100) default 'custom' NOT NULL);
|
ALTER TABLE tnetwork_component ADD (wizard_level VARCHAR2(100) default 'custom' NOT NULL);
|
||||||
ALTER TABLE tnetwork_component ADD CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom'));
|
ALTER TABLE tnetwork_component ADD CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard'));
|
||||||
ALTER TABLE tnetwork_component ADD (only_wizard NUMBER(5, 0) default 0 NOT NULL);
|
ALTER TABLE tnetwork_component ADD (only_wizard NUMBER(5, 0) default 0 NOT NULL);
|
||||||
ALTER TABLE tnetwork_component ADD (field1_desc CLOB default '');
|
ALTER TABLE tnetwork_component ADD (field1_desc CLOB default '');
|
||||||
ALTER TABLE tnetwork_component ADD (field1_help CLOB default '');
|
ALTER TABLE tnetwork_component ADD (field1_help CLOB default '');
|
||||||
@ -294,13 +294,13 @@ ALTER TABLE tnetwork_component ADD (field6_help CLOB default '');
|
|||||||
-- Table `tagente_modulo`
|
-- Table `tagente_modulo`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
ALTER TABLE tagente_modulo ADD (wizard_level VARCHAR2(100) default 'custom' NOT NULL);
|
ALTER TABLE tagente_modulo ADD (wizard_level VARCHAR2(100) default 'nowizard' NOT NULL);
|
||||||
ALTER TABLE tagente_modulo ADD CONSTRAINT t_agente_modulo_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom'));
|
ALTER TABLE tagente_modulo ADD CONSTRAINT t_agente_modulo_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard'));
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tusuario`
|
-- Table `tusuario`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
ALTER TABLE tusuario ADD (wizard_access VARCHAR2(100) default 'only_console' NOT NULL);
|
ALTER TABLE tusuario ADD (metaconsole_access VARCHAR2(100) default 'only_console' NOT NULL);
|
||||||
ALTER TABLE tusuario ADD CONSTRAINT t_usuario_wizard_access_cons CHECK (wizard_access IN ('basic','advanced','custom','all','only_console'));
|
ALTER TABLE tusuario ADD CONSTRAINT t_usuario_metaconsole_access_cons CHECK (metaconsole_access IN ('basic','advanced','custom','all','only_console'));
|
||||||
|
|
||||||
|
@ -263,8 +263,8 @@ WHERE "token"='prominent_time'
|
|||||||
-- Table `tnetwork_component`
|
-- Table `tnetwork_component`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
CREATE TYPE type_tnetwork_component_wizard_level AS ENUM ('basic','advanced','custom');
|
CREATE TYPE type_tnetwork_component_wizard_level AS ENUM ('basic','advanced','custom','nowizard');
|
||||||
ALTER TABLE "tnetwork_component" ADD COLUMN "wizard_level" type_tnetwork_component_wizard_level default 'custom';
|
ALTER TABLE "tnetwork_component" ADD COLUMN "wizard_level" type_tnetwork_component_wizard_level default 'nowizard';
|
||||||
ALTER TABLE "tnetwork_component" ADD COLUMN "only_wizard" INTEGER default '0';
|
ALTER TABLE "tnetwork_component" ADD COLUMN "only_wizard" INTEGER default '0';
|
||||||
ALTER TABLE "tnetwork_component" ADD COLUMN "field1_desc" TEXT default '';
|
ALTER TABLE "tnetwork_component" ADD COLUMN "field1_desc" TEXT default '';
|
||||||
ALTER TABLE "tnetwork_component" ADD COLUMN "field1_help" TEXT default '';
|
ALTER TABLE "tnetwork_component" ADD COLUMN "field1_help" TEXT default '';
|
||||||
@ -283,12 +283,12 @@ ALTER TABLE "tnetwork_component" ADD COLUMN "field6_help" TEXT default '';
|
|||||||
-- Table `tagente_modulo`
|
-- Table `tagente_modulo`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
CREATE TYPE type_tagente_modulo_wizard_level AS ENUM ('basic','advanced','custom');
|
CREATE TYPE type_tagente_modulo_wizard_level AS ENUM ('basic','advanced','custom','nowizard');
|
||||||
ALTER TABLE "tagente_modulo" ADD COLUMN "wizard_level" type_tagente_modulo_wizard_level default 'custom';
|
ALTER TABLE "tagente_modulo" ADD COLUMN "wizard_level" type_tagente_modulo_wizard_level default 'nowizard';
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tusuario`
|
-- Table `tusuario`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
||||||
CREATE TYPE type_tusuario_wizard_access AS ENUM ('basic','advanced','custom','all','only_console');
|
CREATE TYPE type_tusuario_metaconsole_access AS ENUM ('basic','advanced','custom','all','only_console');
|
||||||
ALTER TABLE "tusuario" ADD COLUMN "wizard_access" type_tusuario_wizard_access default 'only_console';
|
ALTER TABLE "tusuario" ADD COLUMN "metaconsole_access" type_tusuario_metaconsole_access default 'only_console';
|
||||||
|
@ -133,7 +133,7 @@ if ($create_user) {
|
|||||||
if (enterprise_installed()) {
|
if (enterprise_installed()) {
|
||||||
$values['force_change_pass'] = 1;
|
$values['force_change_pass'] = 1;
|
||||||
$values['last_pass_change'] = date ("Y/m/d H:i:s", get_system_time());
|
$values['last_pass_change'] = date ("Y/m/d H:i:s", get_system_time());
|
||||||
$values['wizard_access'] = get_parameter ('wizard_access');
|
$values['metaconsole_access'] = get_parameter ('metaconsole_access');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($id == '') {
|
if ($id == '') {
|
||||||
@ -226,7 +226,7 @@ if ($update_user) {
|
|||||||
$values['flash_chart'] = get_parameter ('flash_charts', $config["flash_charts"]);
|
$values['flash_chart'] = get_parameter ('flash_charts', $config["flash_charts"]);
|
||||||
|
|
||||||
if(enterprise_installed()) {
|
if(enterprise_installed()) {
|
||||||
$values['wizard_access'] = get_parameter ('wizard_access');
|
$values['metaconsole_access'] = get_parameter ('metaconsole_access');
|
||||||
}
|
}
|
||||||
|
|
||||||
$res1 = update_user ($id, $values);
|
$res1 = update_user ($id, $values);
|
||||||
@ -276,7 +276,7 @@ if ($update_user) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(enterprise_installed()) {
|
if(enterprise_installed()) {
|
||||||
$info .= ' Wizard access: ' . $values['wizard_access'];
|
$info .= ' Wizard access: ' . $values['metaconsole_access'];
|
||||||
}
|
}
|
||||||
|
|
||||||
db_pandora_audit("User management", "Updated user ".io_safe_input($id),
|
db_pandora_audit("User management", "Updated user ".io_safe_input($id),
|
||||||
@ -424,13 +424,13 @@ if($id == $config['id_user']) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(enterprise_installed()) {
|
if(enterprise_installed()) {
|
||||||
$table->data[12][0] = __('Wizard access');
|
$table->data[12][0] = __('Metaconsole access');
|
||||||
$wizard_accesses = array('only_console' => __('No wizard access (Only normal console)'),
|
$metaconsole_accesses = array('only_console' => __('No access'),
|
||||||
'basic' => __('Basic wizard'),
|
'basic' => __('Basic (Only Metaconsole)'),
|
||||||
'advanced' => __('Advanced wizard'),
|
'advanced' => __('Advanced (Only Metaconsole)'),
|
||||||
'custom' => __('Custom wizard'),
|
//'custom' => __('Custom access (Only Metaconsole)'),
|
||||||
'all' => __('Full access (Custom wizard and normal console)'));
|
'all' => __('Full (Metaconsole and normal console)'));
|
||||||
$table->data[12][1] = html_print_select($wizard_accesses,'wizard_access',$user_info["wizard_access"],'','',-1,true, false, false);
|
$table->data[12][1] = html_print_select($metaconsole_accesses,'metaconsole_access',$user_info["metaconsole_access"],'','',-1,true, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<form method="post" autocomplete="off">';
|
echo '<form method="post" autocomplete="off">';
|
||||||
|
@ -208,8 +208,8 @@ CREATE TABLE tagente_modulo (
|
|||||||
custom_string_3 CLOB default '',
|
custom_string_3 CLOB default '',
|
||||||
custom_integer_1 NUMBER(10, 0) default 0,
|
custom_integer_1 NUMBER(10, 0) default 0,
|
||||||
custom_integer_2 NUMBER(10, 0) default 0,
|
custom_integer_2 NUMBER(10, 0) default 0,
|
||||||
wizard_level VARCHAR2(100) default 'custom' NOT NULL,
|
wizard_level VARCHAR2(100) default 'nowizard' NOT NULL,
|
||||||
CONSTRAINT t_agente_modulo_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom'))
|
CONSTRAINT t_agente_modulo_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard'))
|
||||||
);
|
);
|
||||||
CREATE INDEX tagente_modulo_id_agente_idx ON tagente_modulo(id_agente);
|
CREATE INDEX tagente_modulo_id_agente_idx ON tagente_modulo(id_agente);
|
||||||
CREATE INDEX tagente_modulo_id_t_mod_idx ON tagente_modulo(id_tipo_modulo);
|
CREATE INDEX tagente_modulo_id_t_mod_idx ON tagente_modulo(id_tipo_modulo);
|
||||||
@ -649,7 +649,7 @@ CREATE TABLE tnetwork_component (
|
|||||||
custom_integer_2 INTEGER default 0,
|
custom_integer_2 INTEGER default 0,
|
||||||
post_process BINARY_DOUBLE default 0.
|
post_process BINARY_DOUBLE default 0.
|
||||||
unit CLOB default '',
|
unit CLOB default '',
|
||||||
wizard_level VARCHAR2(100) default 'custom' NOT NULL,
|
wizard_level VARCHAR2(100) default 'nowizard' NOT NULL,
|
||||||
only_wizard NUMBER(5, 0) default 0 NOT NULL,
|
only_wizard NUMBER(5, 0) default 0 NOT NULL,
|
||||||
field1_desc CLOB default '',
|
field1_desc CLOB default '',
|
||||||
field1_help CLOB default '',
|
field1_help CLOB default '',
|
||||||
@ -663,7 +663,7 @@ CREATE TABLE tnetwork_component (
|
|||||||
field5_help CLOB default '',
|
field5_help CLOB default '',
|
||||||
field6_desc CLOB default '',
|
field6_desc CLOB default '',
|
||||||
field6_help CLOB default '',
|
field6_help CLOB default '',
|
||||||
CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom'))
|
CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard'))
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE SEQUENCE tnetwork_component_s INCREMENT BY 1 START WITH 1;
|
CREATE SEQUENCE tnetwork_component_s INCREMENT BY 1 START WITH 1;
|
||||||
@ -896,8 +896,8 @@ CREATE TABLE tusuario (
|
|||||||
last_failed_login TIMESTAMP default 0,
|
last_failed_login TIMESTAMP default 0,
|
||||||
failed_attempt NUMBER(5,0) default 0 NOT NULL,
|
failed_attempt NUMBER(5,0) default 0 NOT NULL,
|
||||||
login_blocked NUMBER(5,0) default 0 NOT NULL,
|
login_blocked NUMBER(5,0) default 0 NOT NULL,
|
||||||
wizard_access VARCHAR2(100) default 'only_console' NOT NULL,
|
metaconsole_access VARCHAR2(100) default 'only_console' NOT NULL,
|
||||||
CONSTRAINT t_usuario_wizard_access_cons CHECK (wizard_access IN ('basic','advanced','custom','all','only_console'))
|
CONSTRAINT t_usuario_metaconsole_access_cons CHECK (metaconsole_access IN ('basic','advanced','custom','all','only_console'))
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE tusuario_perfil (
|
CREATE TABLE tusuario_perfil (
|
||||||
|
@ -139,7 +139,7 @@ CREATE INDEX "tagente_estado_last_execution_try_idx" ON "tagente_estado"("last_e
|
|||||||
-- 6 - WMI server
|
-- 6 - WMI server
|
||||||
-- 7 - WEB Server (enteprise)
|
-- 7 - WEB Server (enteprise)
|
||||||
|
|
||||||
CREATE TYPE type_tagente_modulo_wizard_level AS ENUM ('basic','advanced','custom');
|
CREATE TYPE type_tagente_modulo_wizard_level AS ENUM ('basic','advanced','custom','nowizard');
|
||||||
CREATE TABLE "tagente_modulo" (
|
CREATE TABLE "tagente_modulo" (
|
||||||
"id_agente_modulo" SERIAL NOT NULL PRIMARY KEY,
|
"id_agente_modulo" SERIAL NOT NULL PRIMARY KEY,
|
||||||
"id_agente" INTEGER NOT NULL default 0,
|
"id_agente" INTEGER NOT NULL default 0,
|
||||||
@ -188,7 +188,7 @@ CREATE TABLE "tagente_modulo" (
|
|||||||
"custom_string_3" text default '',
|
"custom_string_3" text default '',
|
||||||
"custom_integer_1" INTEGER default 0,
|
"custom_integer_1" INTEGER default 0,
|
||||||
"custom_integer_2" INTEGER default 0,
|
"custom_integer_2" INTEGER default 0,
|
||||||
"wizard_level" type_tagente_modulo_wizard_level default 'custom'
|
"wizard_level" type_tagente_modulo_wizard_level default 'nowizard'
|
||||||
);
|
);
|
||||||
CREATE INDEX "tagente_modulo_id_agente_idx" ON "tagente_modulo"("id_agente");
|
CREATE INDEX "tagente_modulo_id_agente_idx" ON "tagente_modulo"("id_agente");
|
||||||
CREATE INDEX "tagente_modulo_id_tipo_modulo_idx" ON "tagente_modulo"("id_tipo_modulo");
|
CREATE INDEX "tagente_modulo_id_tipo_modulo_idx" ON "tagente_modulo"("id_tipo_modulo");
|
||||||
@ -480,7 +480,7 @@ CREATE TABLE "tmodule_group" (
|
|||||||
"name" varchar(150) NOT NULL default ''
|
"name" varchar(150) NOT NULL default ''
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TYPE type_tlocal_component_wizard_level AS ENUM ('basic','advanced','custom');
|
CREATE TYPE type_tlocal_component_wizard_level AS ENUM ('basic','advanced','custom','nowizard');
|
||||||
CREATE TABLE "tnetwork_component" (
|
CREATE TABLE "tnetwork_component" (
|
||||||
"id_nc" SERIAL NOT NULL PRIMARY KEY,
|
"id_nc" SERIAL NOT NULL PRIMARY KEY,
|
||||||
"name" varchar(80) NOT NULL,
|
"name" varchar(80) NOT NULL,
|
||||||
@ -517,7 +517,7 @@ CREATE TABLE "tnetwork_component" (
|
|||||||
"custom_integer_2" INTEGER default 0,
|
"custom_integer_2" INTEGER default 0,
|
||||||
"post_process" DOUBLE PRECISION default 0,
|
"post_process" DOUBLE PRECISION default 0,
|
||||||
"unit" TEXT default '',
|
"unit" TEXT default '',
|
||||||
"wizard_level" type_tlocal_component_wizard_level default 'custom',
|
"wizard_level" type_tlocal_component_wizard_level default 'nowizard',
|
||||||
"only_wizard" INTEGER default '0',
|
"only_wizard" INTEGER default '0',
|
||||||
"field1_desc" TEXT default '',
|
"field1_desc" TEXT default '',
|
||||||
"field1_help" TEXT default '',
|
"field1_help" TEXT default '',
|
||||||
@ -698,7 +698,7 @@ CREATE TABLE "ttrap" (
|
|||||||
"severity" INTEGER NOT NULL default 2
|
"severity" INTEGER NOT NULL default 2
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TYPE type_tusuario_wizard_access AS ENUM ('basic','advanced','custom','all','only_console');
|
CREATE TYPE type_tusuario_metaconsole_access AS ENUM ('basic','advanced','custom','all','only_console');
|
||||||
CREATE TABLE "tusuario" (
|
CREATE TABLE "tusuario" (
|
||||||
"id_user" varchar(60) NOT NULL PRIMARY KEY,
|
"id_user" varchar(60) NOT NULL PRIMARY KEY,
|
||||||
"fullname" varchar(255) NOT NULL,
|
"fullname" varchar(255) NOT NULL,
|
||||||
@ -727,7 +727,7 @@ CREATE TABLE "tusuario" (
|
|||||||
"last_failed_login" BIGINT NOT NULL default 0,
|
"last_failed_login" BIGINT NOT NULL default 0,
|
||||||
"failed_attempt" INTEGER NOT NULL DEFAULT 0,
|
"failed_attempt" INTEGER NOT NULL DEFAULT 0,
|
||||||
"login_blocked" SMALLINT NOT NULL default 0,
|
"login_blocked" SMALLINT NOT NULL default 0,
|
||||||
"wizard_access" type_tusuario_wizard_access default 'only_console'
|
"metaconsole_access" type_tusuario_metaconsole_access default 'only_console'
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE "tusuario_perfil" (
|
CREATE TABLE "tusuario_perfil" (
|
||||||
|
@ -189,7 +189,7 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` (
|
|||||||
`custom_string_3` text,
|
`custom_string_3` text,
|
||||||
`custom_integer_1` int(10) default 0,
|
`custom_integer_1` int(10) default 0,
|
||||||
`custom_integer_2` int(10) default 0,
|
`custom_integer_2` int(10) default 0,
|
||||||
`wizard_level` enum('basic','advanced','custom') default 'custom',
|
`wizard_level` enum('basic','advanced','custom','nowizard') default 'nowizard',
|
||||||
PRIMARY KEY (`id_agente_modulo`),
|
PRIMARY KEY (`id_agente_modulo`),
|
||||||
KEY `main_idx` (`id_agente_modulo`,`id_agente`),
|
KEY `main_idx` (`id_agente_modulo`,`id_agente`),
|
||||||
KEY `tam_agente` (`id_agente`),
|
KEY `tam_agente` (`id_agente`),
|
||||||
@ -569,7 +569,7 @@ CREATE TABLE IF NOT EXISTS `tnetwork_component` (
|
|||||||
`custom_integer_2` int(10) default 0,
|
`custom_integer_2` int(10) default 0,
|
||||||
`post_process` double(18,5) default 0,
|
`post_process` double(18,5) default 0,
|
||||||
`unit` text,
|
`unit` text,
|
||||||
`wizard_level` enum('basic','advanced','custom') default 'custom',
|
`wizard_level` enum('basic','advanced','custom','nowizard') default 'nowizard',
|
||||||
`only_wizard` tinyint(1) unsigned default '0',
|
`only_wizard` tinyint(1) unsigned default '0',
|
||||||
`field1_desc` text,
|
`field1_desc` text,
|
||||||
`field1_help` text,
|
`field1_help` text,
|
||||||
@ -799,7 +799,7 @@ CREATE TABLE IF NOT EXISTS `tusuario` (
|
|||||||
`last_failed_login` DATETIME NOT NULL DEFAULT 0,
|
`last_failed_login` DATETIME NOT NULL DEFAULT 0,
|
||||||
`failed_attempt` int(4) NOT NULL DEFAULT 0,
|
`failed_attempt` int(4) NOT NULL DEFAULT 0,
|
||||||
`login_blocked` tinyint(1) unsigned NOT NULL default 0,
|
`login_blocked` tinyint(1) unsigned NOT NULL default 0,
|
||||||
`wizard_access` enum('basic','advanced','custom','all','only_console') default 'only_console',
|
`metaconsole_access` enum('basic','advanced','custom','all','only_console') default 'only_console',
|
||||||
UNIQUE KEY `id_user` (`id_user`)
|
UNIQUE KEY `id_user` (`id_user`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user