mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
New file.
This commit is contained in:
parent
6f935f27ce
commit
f49d7f3eec
@ -1,41 +1,12 @@
|
|||||||
-- Pandora FMS - the Flexible Monitoring System
|
BEGIN
|
||||||
-- ============================================
|
|
||||||
-- Copyright (c) 2005-2011 Artica Soluciones Tecnológicas, http://www.artica.es
|
|
||||||
-- Please see http://pandora.sourceforge.net for full contribution list
|
|
||||||
|
|
||||||
-- This program is free software; you can redistribute it and/or
|
CREATE TABLE IF NOT EXISTS `ttable_test_nueva` (
|
||||||
-- 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` (
|
|
||||||
`id` int(10) unsigned NOT NULL auto_increment,
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
`field1` varchar(60) NOT NULL default '',
|
`field1` varchar(60) NOT NULL default '',
|
||||||
`field2` int(10) unsigned NOT NULL default '0',
|
`field2` int(10) unsigned NOT NULL default '0',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- ---------------------------------------------------------------------
|
ALTER TABLE `tusuario` ADD COLUMN `test_nuevo` tinyint(1) NOT NULL DEFAULT 0;
|
||||||
-- Table `tusuario`
|
|
||||||
-- ---------------------------------------------------------------------
|
COMMIT
|
||||||
ALTER TABLE `tusuario` ADD COLUMN `test` tinyint(1) NOT NULL DEFAULT 0;
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user