Project

General

Profile

1
<?php
2
/**
3
 *
4
 * @category        module
5
 * @package         droplet
6
 * @author          Ruud Eisinga (Ruud) John (PCWacht)
7
 * @author          WebsiteBaker Project
8
 * @copyright       2004-2009, Ryan Djurovich
9
 * @copyright       2009-2011, Website Baker Org. e.V.
10
 * @link			http://www.websitebaker2.org/
11
 * @license         http://www.gnu.org/licenses/gpl.html
12
 * @platform        WebsiteBaker 2.8.x
13
 * @requirements    PHP 5.2.2 and higher
14
 * @version         $Id: upgrade.php 1503 2011-08-18 02:18:59Z Luisehahne $
15
 * @filesource		$HeadURL: svn://isteam.dynxs.de/wb-archiv/branches/2.8.x/wb/modules/droplets/upgrade.php $
16
 * @lastmodified    $Date: 2011-08-18 04:18:59 +0200 (Thu, 18 Aug 2011) $
17
 *
18
 */
19
/* -------------------------------------------------------- */
20
// Must include code to stop this file being accessed directly
21
if(!defined('WB_PATH')) {
22

    
23
	require_once(dirname(dirname(dirname(__FILE__))).'/framework/globalExceptionHandler.php');
24
	throw new IllegalFileException();
25
}
26
/* -------------------------------------------------------- */
27

    
28
$table_name = TABLE_PREFIX .'mod_droplets';
29
$description = 'INT NOT NULL default 0 ';
30
$database->field_add($table_name,'show_wysiwyg',$description.'AFTER `active`' );
31
$database->field_add($table_name,'admin_view',$description.'AFTER `active`' );
32
$database->field_add($table_name,'admin_edit',$description.'AFTER `active`' );
(14-14/14)