From f49d7f3eec91c1ecd41b82d41b6513b614bef59e Mon Sep 17 00:00:00 2001 From: vanessa gil Date: Tue, 14 Mar 2017 10:21:38 +0100 Subject: [PATCH] New file. --- pandora_console/extras/mr/1.sql | 39 +++++---------------------------- 1 file changed, 5 insertions(+), 34 deletions(-) diff --git a/pandora_console/extras/mr/1.sql b/pandora_console/extras/mr/1.sql index 24529b3844..2af917a38e 100644 --- a/pandora_console/extras/mr/1.sql +++ b/pandora_console/extras/mr/1.sql @@ -1,41 +1,12 @@ --- Pandora FMS - the Flexible Monitoring System --- ============================================ --- Copyright (c) 2005-2011 Artica Soluciones Tecnológicas, http://www.artica.es --- Please see http://pandora.sourceforge.net for full contribution list +BEGIN --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation for version 2. --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- You should have received a copy of the GNU General Public License --- along with this program; if not, write to the Free Software --- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - --- PLEASE NO NOT USE MULTILINE COMMENTS --- Because Pandora Installer don't understand them --- and fails creating database !!! - --- Priority : 0 - Maintance (grey) --- Priority : 1 - Low (green) --- Priority : 2 - Normal (blue) --- Priority : 3 - Warning (yellow) --- Priority : 4 - Critical (red) - --- --------------------------------------------------------------------- --- Table `ttable_test` --- --------------------------------------------------------------------- - -CREATE TABLE IF NOT EXISTS `ttable_test` ( +CREATE TABLE IF NOT EXISTS `ttable_test_nueva` ( `id` int(10) unsigned NOT NULL auto_increment, `field1` varchar(60) NOT NULL default '', `field2` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- --------------------------------------------------------------------- --- Table `tusuario` --- --------------------------------------------------------------------- -ALTER TABLE `tusuario` ADD COLUMN `test` tinyint(1) NOT NULL DEFAULT 0; +ALTER TABLE `tusuario` ADD COLUMN `test_nuevo` tinyint(1) NOT NULL DEFAULT 0; + +COMMIT