OSDN Git Service

1ca4607ac9b6db81d23f0c267f237600110d89f0
[magic3/magic3.git] / include / sql / update / 2009012301_to_2009021001.sql
1 -- *
2 -- * バージョンアップ用スクリプト
3 -- *
4 -- * PHP versions 5
5 -- *
6 -- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
7 -- *
8 -- * @package    Magic3 Framework
9 -- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
10 -- * @copyright  Copyright 2006-2009 Magic3 Project.
11 -- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
12 -- * @version    SVN: $Id: 2009012301_to_2009021001.sql 1513 2009-02-16 03:20:50Z fishbone $
13 -- * @link       http://www.magic3.org
14 -- *
15 -- --------------------------------------------------------------------------------------------------
16 -- バージョンアップ用スクリプト
17 -- --------------------------------------------------------------------------------------------------
18
19 -- *** システムベーステーブル ***
20 -- ウィジェット情報マスター
21 DELETE FROM _widgets WHERE wd_id = 'image2';
22 INSERT INTO _widgets
23 (wd_id,   wd_name, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_scripts, wd_read_css, wd_available, wd_editable, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_launch_index, wd_install_dt, wd_create_dt) VALUES
24 ('image2', '画像2',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, '様々な画像を単一で表示。',               false,           false,       true,         true,        true,         false,                                true,                true,              0,               now(),         now());
25
26 UPDATE _widgets SET wd_name = '画像(廃止予定)', wd_status = -1 WHERE wd_id = 'image' AND wd_deleted = false;
27 UPDATE _widgets SET wd_name = 'バナー表示(廃止予定)', wd_status = -1 WHERE wd_id = 'banner' AND wd_deleted = false;
28
29 -- *** システム標準テーブル ***