From f18f2e1068e9a20def0f0491cf3feceb7f93c695 Mon Sep 17 00:00:00 2001 From: vanessa gil Date: Tue, 14 Mar 2017 12:11:16 +0100 Subject: [PATCH] New file. --- pandora_console/extras/mr/2.sql | 43 +++------------------------------ 1 file changed, 4 insertions(+), 39 deletions(-) diff --git a/pandora_console/extras/mr/2.sql b/pandora_console/extras/mr/2.sql index 60581891b8..b3a08d792f 100644 --- a/pandora_console/extras/mr/2.sql +++ b/pandora_console/extras/mr/2.sql @@ -1,41 +1,6 @@ --- ============================================ --- 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. +UPDATE `tusuario` ADD COLUMN `test_nuevo` tinyint(1) NOT NULL DEFAULT 0; +ALTER TABLE `tusuario` asdfasdf; --- 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_test2` ( - `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 `ttable_test` --- --------------------------------------------------------------------- -ALTER TABLE `ttable_test` ADD COLUMN `field3` tinyint(1) NOT NULL DEFAULT 0; -ALTER TABLE `ttable_test` MODIFY COLUMN `field1` tinyint(1) NOT NULL DEFAULT 0; +COMMIT