Database update

This commit is contained in:
Jose Gonzalez 2020-10-14 10:59:55 +02:00
parent 3b14453d1e
commit 65851afe4d
3 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,6 @@
START TRANSACTION;
ALTER TABLE `tagente_modulo` ADD COLUMN `debug` tinyint(1) UNSIGNED NOT NULL default 0;
ALTER TABLE `tagente_modulo` ADD COLUMN `debug_content` varchar(200);
COMMIT;

View File

@ -1480,6 +1480,8 @@ ALTER TABLE `tagente_modulo` DROP COLUMN `ff_normal`,
MODIFY COLUMN `dynamic_next` bigint(20) NOT NULL DEFAULT '0',
MODIFY COLUMN `dynamic_two_tailed` tinyint(1) unsigned NULL DEFAULT '0';
ALTER TABLE tagente_modulo MODIFY COLUMN `custom_string_1` MEDIUMTEXT;
ALTER TABLE `tagente_modulo` ADD COLUMN `debug` tinyint(1) UNSIGNED NOT NULL default 0;
ALTER TABLE `tagente_modulo` ADD COLUMN `debug_content` varchar(200);
-- ---------------------------------------------------------------------
-- Table `tagente_datos`

View File

@ -266,6 +266,8 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` (
`prediction_threshold` int(4) default 0,
`parent_module_id` int(10) unsigned NOT NULL default 0,
`cps` int NOT NULL default 0,
`debug` tinyint(1) UNSIGNED NOT NULL default 0,
`debug_content` varchar(200),
PRIMARY KEY (`id_agente_modulo`),
KEY `main_idx` (`id_agente_modulo`,`id_agente`),
KEY `tam_agente` (`id_agente`),