OSDN Git Service

古いDB更新スクリプトを削除。
authornaoki hirata <naoki@magic3.org>
Sun, 4 Nov 2018 02:04:18 +0000 (11:04 +0900)
committernaoki hirata <naoki@magic3.org>
Sun, 4 Nov 2018 02:04:18 +0000 (11:04 +0900)
182 files changed:
include/sql/update/2008111301_to_2008111901.sql [deleted file]
include/sql/update/2008111901_to_2008112601.sql [deleted file]
include/sql/update/2008112601_to_2008120601.sql [deleted file]
include/sql/update/2008120601_to_2008120801.sql [deleted file]
include/sql/update/2008120801_to_2008122301.sql [deleted file]
include/sql/update/2008122301_to_2009010101.sql [deleted file]
include/sql/update/2009010101_to_2009010901.sql [deleted file]
include/sql/update/2009010901_to_2009012201.sql [deleted file]
include/sql/update/2009012201_to_2009012301.sql [deleted file]
include/sql/update/2009012301_to_2009021001.sql [deleted file]
include/sql/update/2009021001_to_2009022501.sql [deleted file]
include/sql/update/2009022501_to_2009030901.sql [deleted file]
include/sql/update/2009030901_to_2009031701.sql [deleted file]
include/sql/update/2009031701_to_2009032301.sql [deleted file]
include/sql/update/2009032301_to_2009032701.sql [deleted file]
include/sql/update/2009032701_to_2009040201.sql [deleted file]
include/sql/update/2009040201_to_2009041701.sql [deleted file]
include/sql/update/2009041701_to_2009042101.sql [deleted file]
include/sql/update/2009042101_to_2009051301.sql [deleted file]
include/sql/update/2009051301_to_2009052001.sql [deleted file]
include/sql/update/2009052001_to_2009060401.sql [deleted file]
include/sql/update/2009060401_to_2009060601.sql [deleted file]
include/sql/update/2009060601_to_2009061501.sql [deleted file]
include/sql/update/2009061501_to_2009062601.sql [deleted file]
include/sql/update/2009062601_to_2009070601.sql [deleted file]
include/sql/update/2009070601_to_2009071401.sql [deleted file]
include/sql/update/2009071401_to_2009071601.sql [deleted file]
include/sql/update/2009071601_to_2009080901.sql [deleted file]
include/sql/update/2009080901_to_2009082701.sql [deleted file]
include/sql/update/2009082701_to_2009091901.sql [deleted file]
include/sql/update/2009091901_to_2009101101.sql [deleted file]
include/sql/update/2009101101_to_2009101301.sql [deleted file]
include/sql/update/2009101301_to_2009101801.sql [deleted file]
include/sql/update/2009101801_to_2009102701.sql [deleted file]
include/sql/update/2009102701_to_2009103001.sql [deleted file]
include/sql/update/2009103001_to_2009110201.sql [deleted file]
include/sql/update/2009110201_to_2009110901.sql [deleted file]
include/sql/update/2009110901_to_2009111701.sql [deleted file]
include/sql/update/2009111701_to_2009120301.sql [deleted file]
include/sql/update/2009120301_to_2009120801.sql [deleted file]
include/sql/update/2009120801_to_2009121701.sql [deleted file]
include/sql/update/2009121701_to_2010010501.sql [deleted file]
include/sql/update/2010010501_to_2010020601.sql [deleted file]
include/sql/update/2010020601_to_2010021501.sql [deleted file]
include/sql/update/2010021501_to_2010021601.sql [deleted file]
include/sql/update/2010021601_to_2010030301.sql [deleted file]
include/sql/update/2010030301_to_2010031101.sql [deleted file]
include/sql/update/2010031101_to_2010032401.sql [deleted file]
include/sql/update/2010032401_to_2010040801.sql [deleted file]
include/sql/update/2010040801_to_2010041201.sql [deleted file]
include/sql/update/2010041201_to_2010042101.sql [deleted file]
include/sql/update/2010042101_to_2010042901.sql [deleted file]
include/sql/update/2010042901_to_2010050901.sql [deleted file]
include/sql/update/2010050901_to_2010051201.sql [deleted file]
include/sql/update/2010051201_to_2010051701.sql [deleted file]
include/sql/update/2010051701_to_2010052601.sql [deleted file]
include/sql/update/2010052601_to_2010060601.sql [deleted file]
include/sql/update/2010060601_to_2010061801.sql [deleted file]
include/sql/update/2010061801_to_2010070901.sql [deleted file]
include/sql/update/2010070901_to_2010071301.sql [deleted file]
include/sql/update/2010071301_to_2010072301.sql [deleted file]
include/sql/update/2010072301_to_2010072701.sql [deleted file]
include/sql/update/2010072701_to_2010080401.sql [deleted file]
include/sql/update/2010080401_to_2010081801.sql [deleted file]
include/sql/update/2010081801_to_2010082001.sql [deleted file]
include/sql/update/2010082001_to_2010090101.sql [deleted file]
include/sql/update/2010090101_to_2010091401.sql [deleted file]
include/sql/update/2010091401_to_2010091801.sql [deleted file]
include/sql/update/2010091801_to_2010092901.sql [deleted file]
include/sql/update/2010092901_to_2010100901.sql [deleted file]
include/sql/update/2010100901_to_2010101101.sql [deleted file]
include/sql/update/2010101101_to_2010102901.sql [deleted file]
include/sql/update/2010102901_to_2010111701.sql [deleted file]
include/sql/update/2010111701_to_2010122801.sql [deleted file]
include/sql/update/2010122801_to_2011011101.sql [deleted file]
include/sql/update/2011011101_to_2011012001.sql [deleted file]
include/sql/update/2011012001_to_2011012801.sql [deleted file]
include/sql/update/2011012801_to_2011021901.sql [deleted file]
include/sql/update/2011021901_to_2011041601.sql [deleted file]
include/sql/update/2011041601_to_2011051201.sql [deleted file]
include/sql/update/2011051201_to_2011051401.sql [deleted file]
include/sql/update/2011051401_to_2011060601.sql [deleted file]
include/sql/update/2011060601_to_2011061601.sql [deleted file]
include/sql/update/2011061601_to_2011070101.sql [deleted file]
include/sql/update/2011070101_to_2011080401.sql [deleted file]
include/sql/update/2011080401_to_2011081801.sql [deleted file]
include/sql/update/2011081801_to_2011092601.sql [deleted file]
include/sql/update/2011092601_to_2011101101.sql [deleted file]
include/sql/update/2011101101_to_2011112601.sql [deleted file]
include/sql/update/2011112601_to_2011112901.sql [deleted file]
include/sql/update/2011112901_to_2011122501.sql [deleted file]
include/sql/update/2011122501_to_2012010801.sql [deleted file]
include/sql/update/2012010801_to_2012011801.sql [deleted file]
include/sql/update/2012011801_to_2012012501.sql [deleted file]
include/sql/update/2012012501_to_2012012801.sql [deleted file]
include/sql/update/2012012801_to_2012022401.sql [deleted file]
include/sql/update/2012022401_to_2012031501.sql [deleted file]
include/sql/update/2012031501_to_2012032701.sql [deleted file]
include/sql/update/2012032701_to_2012042401.sql [deleted file]
include/sql/update/2012042401_to_2012050201.sql [deleted file]
include/sql/update/2012050201_to_2012051201.sql [deleted file]
include/sql/update/2012051201_to_2012052101.sql [deleted file]
include/sql/update/2012052101_to_2012053101.sql [deleted file]
include/sql/update/2012053101_to_2012061901.sql [deleted file]
include/sql/update/2012061901_to_2012062801.sql [deleted file]
include/sql/update/2012062801_to_2012071501.sql [deleted file]
include/sql/update/2012071501_to_2012080601.sql [deleted file]
include/sql/update/2012080601_to_2012081301.sql [deleted file]
include/sql/update/2012081301_to_2012082201.sql [deleted file]
include/sql/update/2012082201_to_2012090701.sql [deleted file]
include/sql/update/2012090701_to_2012091901.sql [deleted file]
include/sql/update/2012091901_to_2012100101.sql [deleted file]
include/sql/update/2012100101_to_2012100901.sql [deleted file]
include/sql/update/2012100901_to_2012102501.sql [deleted file]
include/sql/update/2012102501_to_2012110501.sql [deleted file]
include/sql/update/2012110501_to_2012111401.sql [deleted file]
include/sql/update/2012111401_to_2012112601.sql [deleted file]
include/sql/update/2012112601_to_2012120801.sql [deleted file]
include/sql/update/2012120801_to_2012121101.sql [deleted file]
include/sql/update/2012121101_to_2013010901.sql [deleted file]
include/sql/update/2013010901_to_2013012701.sql [deleted file]
include/sql/update/2013012701_to_2013020401.sql [deleted file]
include/sql/update/2013020401_to_2013020801.sql [deleted file]
include/sql/update/2013020801_to_2013021801.sql [deleted file]
include/sql/update/2013021801_to_2013022601.sql [deleted file]
include/sql/update/2013022601_to_2013031701.sql [deleted file]
include/sql/update/2013031701_to_2013033001.sql [deleted file]
include/sql/update/2013033001_to_2013040101.sql [deleted file]
include/sql/update/2013040101_to_2013042801.sql [deleted file]
include/sql/update/2013042801_to_2013061301.sql [deleted file]
include/sql/update/2013061301_to_2013062901.sql [deleted file]
include/sql/update/2013062901_to_2013071401.sql [deleted file]
include/sql/update/2013071401_to_2013071901.sql [deleted file]
include/sql/update/2013071901_to_2013080701.sql [deleted file]
include/sql/update/2013080701_to_2013082801.sql [deleted file]
include/sql/update/2013082801_to_2013091101.sql [deleted file]
include/sql/update/2013091101_to_2013101001.sql [deleted file]
include/sql/update/2013101001_to_2013101024.sql [deleted file]
include/sql/update/2013101024_to_2013110301.sql [deleted file]
include/sql/update/2013110301_to_2013112201.sql [deleted file]
include/sql/update/2013112201_to_2013121801.sql [deleted file]
include/sql/update/2013121801_to_2014010201.sql [deleted file]
include/sql/update/2014010201_to_2014013001.sql [deleted file]
include/sql/update/2014013001_to_2014020101.sql [deleted file]
include/sql/update/2014020101_to_2014030301.sql [deleted file]
include/sql/update/2014030301_to_2014030501.sql [deleted file]
include/sql/update/2014030501_to_2014031001.sql [deleted file]
include/sql/update/2014031001_to_2014032701.sql [deleted file]
include/sql/update/2014032701_to_2014040701.sql [deleted file]
include/sql/update/2014040701_to_2014042301.sql [deleted file]
include/sql/update/2014042301_to_2014050601.sql [deleted file]
include/sql/update/2014050601_to_2014072101.sql [deleted file]
include/sql/update/2014072101_to_2014072501.sql [deleted file]
include/sql/update/2014072501_to_2014081701.sql [deleted file]
include/sql/update/2014081701_to_2014092401.sql [deleted file]
include/sql/update/2014092401_to_2014100301.sql [deleted file]
include/sql/update/2014100301_to_2015011701.sql [deleted file]
include/sql/update/2015011701_to_2015012101.sql [deleted file]
include/sql/update/2015012101_to_2015020201.sql [deleted file]
include/sql/update/2015020201_to_2015021001.sql [deleted file]
include/sql/update/2015021001_to_2015030801.sql [deleted file]
include/sql/update/2015030801_to_2015032901.sql [deleted file]
include/sql/update/2015032901_to_2015033001.sql [deleted file]
include/sql/update/2015033001_to_2015042101.sql [deleted file]
include/sql/update/2015042101_to_2015042801.sql [deleted file]
include/sql/update/2015042801_to_2015052601.sql [deleted file]
include/sql/update/2015052601_to_2015060201.sql [deleted file]
include/sql/update/2015060201_to_2015061201.sql [deleted file]
include/sql/update/2015061201_to_2015062901.sql [deleted file]
include/sql/update/2015062901_to_2015070201.sql [deleted file]
include/sql/update/2015070201_to_2015072701.sql [deleted file]
include/sql/update/2015072701_to_2015080601.sql [deleted file]
include/sql/update/2015080601_to_2015082501.sql [deleted file]
include/sql/update/2015082501_to_2015100101.sql [deleted file]
include/sql/update/2015100101_to_2015101501.sql [deleted file]
include/sql/update/2015101501_to_2015111501.sql [deleted file]
include/sql/update/2015111501_to_2015111901.sql [deleted file]
include/sql/update/2015111901_to_2016030101.sql [deleted file]
include/sql/update/2016030101_to_2016032301.sql [deleted file]
include/sql/update/2016032301_to_2016042201.sql [deleted file]
include/sql/update/2016042201_to_2016053001.sql [deleted file]
include/sql/update/2016053001_to_2016073101.sql [deleted file]

diff --git a/include/sql/update/2008111301_to_2008111901.sql b/include/sql/update/2008111301_to_2008111901.sql
deleted file mode 100644 (file)
index 067665b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2008 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2008111301_to_2008111901.sql 1271 2008-11-24 03:28:51Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- システムベーステーブル
-ALTER TABLE _operation_log ADD ol_message_code INT            DEFAULT 0                     NOT NULL;      -- メッセージコード
-
--- システム標準テーブル
-ALTER TABLE blog_entry MODIFY be_html     TEXT NOT NULL;
-ALTER TABLE blog_entry MODIFY be_html_ext TEXT NOT NULL;
diff --git a/include/sql/update/2008111901_to_2008112601.sql b/include/sql/update/2008111901_to_2008112601.sql
deleted file mode 100644 (file)
index bdec2fc..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2008 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2008111901_to_2008112601.sql 1300 2008-11-30 11:45:58Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 運用ログトラン
-ALTER TABLE _operation_log ADD ol_message_ext TEXT                                         NOT NULL;      -- メッセージ詳細
-ALTER TABLE _operation_log ADD ol_checked     BOOLEAN        DEFAULT false                 NOT NULL;      -- メッセージ確認状況
-
--- 運用メッセージタイプマスター
-DROP TABLE IF EXISTS _operation_type;
-CREATE TABLE _operation_type (
-    ot_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 運用メッセージタイプID
-    ot_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 運用メッセージ名称
-    ot_description       VARCHAR(100)   DEFAULT ''                    NOT NULL,      -- 説明
-    ot_level             INT            DEFAULT 0                     NOT NULL,      -- メッセージレベル(0=通常、1=注意、10=要確認)
-    ot_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート順
-    PRIMARY KEY  (ot_id)
-) TYPE=innodb;
-INSERT INTO _operation_type
-(ot_id,         ot_name,                ot_description,                               ot_level, ot_sort_order) VALUES
-('info',        'システム情報',         'システム運用の正常な動作を示します',         0,        1),
-('warn',        'システム警告',         'システム運用の注意が必要な動作を示します',   1,        2),
-('error',       'システム通常エラー',   'システム運用の異常な動作を示します',         10,       3),
-('fatal',       'システム致命的エラー', 'システム運用の致命的に異常な動作を示します', 10,       4),
-('user_info',   'ユーザ操作',           'ユーザ操作の正常な動作を示します',           0,        5),
-('user_err',    'ユーザ操作エラー',     'ユーザ操作の異常な動作を示します',           10,       6),
-('user_access', 'ユーザ不正アクセス',   'ユーザ操作の不正なアクセスを示します',       10,       7),
-('user_data',   'ユーザ不正データ',     'ユーザ操作の不正なデータ送信を示します',     10,       8);
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2008112601_to_2008120601.sql b/include/sql/update/2008112601_to_2008120601.sql
deleted file mode 100644 (file)
index 14ae6b6..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2008 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2008112601_to_2008120601.sql 1325 2008-12-07 05:43:54Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'content_search_box';
-DELETE FROM _widgets WHERE wd_id = 'nav_menu_css';
-INSERT INTO _widgets
-(wd_id,                wd_name,                       wd_version, 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_install_dt, wd_create_dt) VALUES
-('content_search_box', 'コンテンツ - 検索',           '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'コンテンツを検索するためのボックス。',                              false,           false,       true,         true,        false,        false,               false,               true,           now(),    now()),
-('nav_menu_css',       'ナビゲーションメニュー(CSS)', '1.0.0',    '',             'Magic3.org', 'GPL',      10,                'ページのヘッダ下や、フッタ部に表示するメニュー。SPANタグにて表示。',    false,           false,       true,         true,        true,         false,               false,               true,           now(), now());
-
--- メール内容
-DELETE FROM _mail_form WHERE mf_id = 'test';
-INSERT INTO _mail_form (mf_id,  mf_language_id, mf_subject,     mf_content,                                       mf_create_dt) 
-VALUES                 ('test', 'ja',           'テストメール', 'このメールはテスト用のメールです。\n\n[#BODY#]', now());
-
--- ページ情報マスター
-DELETE FROM _page_info;
-INSERT INTO _page_info
-(pn_id,     pn_sub_id, pn_content_type) VALUES
-('index',   'content', 'content'),
-('index',   'wiki',    'wiki'),
-('m_index', 'content', 'content');
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2008120601_to_2008120801.sql b/include/sql/update/2008120601_to_2008120801.sql
deleted file mode 100644 (file)
index 01eb5c6..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2008 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2008120601_to_2008120801.sql 1380 2008-12-23 02:40:35Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'admin_main';
-INSERT INTO _widgets
-(wd_id,         wd_name, wd_type, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_add_script_lib, 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
-('admin_main',  '管理用画面',      'ADBD',  '',     'Naoki Hirata', 'Magic3.org', 'GPL', 10,     'pagedef=jquery-ui-plus;pagedef_mobile=jquery-ui-plus;menudef=jquery.simpletree;', true,            true,        false,        false,       false,        true,          false, true, 0,   now(),now());
-DELETE FROM _widgets WHERE wd_id = 'm/content_search_box';
-INSERT INTO _widgets
-(wd_id,                wd_name,                       wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                         wd_mobile, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/content_search_box', 'コンテンツ - 検索',         '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'コンテンツを検索するためのボックス。', true,      false,               true,           now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'default_menu';
-INSERT INTO _widgets
-(wd_id,                wd_name,                       wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('default_menu', 'デフォルトメニュー',         '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる1階層の新型デフォルトメニューです。サブメニューも管理できる共通のメニュー定義を使用します。', '', '', true,  true,              true,           now(),         now());
-
--- メニューIDマスター
-DROP TABLE IF EXISTS _menu_id;
-CREATE TABLE _menu_id (
-    mn_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- メニューID
-    mn_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- メニュー名称
-    mn_description       VARCHAR(100)   DEFAULT ''                    NOT NULL,      -- 説明
-    mn_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート順
-    PRIMARY KEY  (mn_id)
-) TYPE=innodb;
-INSERT INTO _menu_id
-(mn_id,       mn_name,          mn_description, mn_sort_order) VALUES
-('main_menu', 'メインメニュー', '',             0);
-
--- メニュー定義マスター
-DROP TABLE IF EXISTS _menu_def;
-CREATE TABLE _menu_def (
-    md_id                INT            DEFAULT 0                     NOT NULL,      -- 項目ID
-    md_parent_id         INT            DEFAULT 0                     NOT NULL,      -- 親項目ID(親がないときは0)
-    md_index             INT            DEFAULT 0                     NOT NULL,      -- 表示順(0~)、md_parent_id=0のときは親間の表示順
-    md_menu_id           VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- メニュー種別ID
-    md_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 名前
-    md_description       VARCHAR(100)   DEFAULT ''                    NOT NULL,      -- 説明
-    md_type              INT            DEFAULT 0                     NOT NULL,      -- メニュー項目タイプ(0=リンク、1=フォルダ、2=テキスト、3=セパレータ)
-    md_link_type         INT            DEFAULT 0                     NOT NULL,      -- リンクタイプ(0=同ウィンドウ、1=別ウィンドウ)
-    md_link_url          TEXT                                         NOT NULL,      -- リンク先
-    md_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示するかどうか
-
-    md_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    md_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    PRIMARY KEY          (md_id)
-) TYPE=innodb;
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2008120801_to_2008122301.sql b/include/sql/update/2008120801_to_2008122301.sql
deleted file mode 100644 (file)
index a3b5515..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2008 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2008120801_to_2008122301.sql 1396 2008-12-26 07:19:52Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'accordion_menu';
-INSERT INTO _widgets
-(wd_id,            wd_name,                 wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('accordion_menu', 'アコーディオンメニュー','1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる2階層のアコーディオンメニューです。サブメニューも管理できる共通のメニュー定義を使用します。', 'jquery-ui,jquery-ui-plus', 'jquery-ui,jquery-ui-plus', true,  true,              true,           now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2008122301_to_2009010101.sql b/include/sql/update/2008122301_to_2009010101.sql
deleted file mode 100644 (file)
index 218269f..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2008 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2008122301_to_2009010101.sql 1414 2009-01-04 13:27:44Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'dropdown_menu';
-INSERT INTO _widgets
-(wd_id,            wd_name,                 wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('dropdown_menu', 'ドロップダウンメニュー','1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる多階層のドロップダウンメニューです。サブメニューも管理できる共通のメニュー定義を使用します。', true, true, 'jquery.bgiframe,jquery.hoverintent', 'jquery.bgiframe,jquery.hoverintent', true,  true,              true,           now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009010101_to_2009010901.sql b/include/sql/update/2009010101_to_2009010901.sql
deleted file mode 100644 (file)
index 5d460cc..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2008 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009010101_to_2009010901.sql 1433 2009-01-13 03:54:53Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'top_content_box';
-INSERT INTO _widgets
-(wd_id,             wd_name,                    wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('top_content_box', 'トップアクセスコンテンツリスト', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '閲覧数の多い順からコンテンツリストを表示します。', false, false, '', '', true,  false,              true,           now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'update_content_box';
-INSERT INTO _widgets
-(wd_id,             wd_name,                    wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('update_content_box', '更新コンテンツリスト', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '最新の更新からコンテンツリストを表示します。', false, false, '', '', true,  false,              true,           now(),         now());
-
--- ページ情報マスター
-DELETE FROM _page_info;
-INSERT INTO _page_info
-(pn_id,     pn_sub_id, pn_content_type) VALUES
-('index',   'content', 'content'),
-('index',   'wiki',    'wiki'),
-('m_index', 'content', 'content'),
-('m_index', 'wiki',    'wiki');
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009010901_to_2009012201.sql b/include/sql/update/2009010901_to_2009012201.sql
deleted file mode 100644 (file)
index 4b90103..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009010901_to_2009012201.sql 1464 2009-01-23 08:42:04Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-INSERT INTO _system_config 
-(sc_id,                          sc_value,                  sc_name) VALUES
-('mobile_auto_redirect',         '0',                       '携帯アクセスの自動遷移');
-
--- *** システム標準テーブル ***
-ALTER TABLE _mail_send_log MODIFY ms_body         TEXT NOT NULL;
-ALTER TABLE _mail_form     MODIFY mf_content      TEXT NOT NULL;
-ALTER TABLE bbs_thread     MODIFY se_html         TEXT NOT NULL;
-ALTER TABLE product        MODIFY pt_description  TEXT NOT NULL;
diff --git a/include/sql/update/2009012201_to_2009012301.sql b/include/sql/update/2009012201_to_2009012301.sql
deleted file mode 100644 (file)
index f750c2a..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009012201_to_2009012301.sql 1501 2009-02-04 06:26:45Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'banner2';
-INSERT INTO _widgets
-(wd_id,     wd_name,              wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                                                     wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('banner2', 'バナー表示2', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'バナー画像をグループ化して、グループごとに表示できるバナー管理ウィジェットです。', false,           false,       '',                '',                  true, true,         true,                true,           now(),         now());
-
--- バナー表示定義
-ALTER TABLE bn_def  ADD bd_item_html TEXT                                         NOT NULL;      -- バナー項目表示テンプレート
-ALTER TABLE bn_def  ADD bd_css_id    VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- CSS用ID
-ALTER TABLE bn_def  ADD bd_css       TEXT                                         NOT NULL;      -- CSS
--- バナー項目
-ALTER TABLE bn_item ADD bi_type      INT            DEFAULT 0                     NOT NULL;      -- 項目タイプ(0=画像、1=Flash)
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009012301_to_2009021001.sql b/include/sql/update/2009012301_to_2009021001.sql
deleted file mode 100644 (file)
index 1ca4607..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009012301_to_2009021001.sql 1513 2009-02-16 03:20:50Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'image2';
-INSERT INTO _widgets
-(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
-('image2', '画像2',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, '様々な画像を単一で表示。',               false,           false,       true,         true,        true,         false,                                true,                true,              0,               now(),         now());
-
-UPDATE _widgets SET wd_name = '画像(廃止予定)', wd_status = -1 WHERE wd_id = 'image' AND wd_deleted = false;
-UPDATE _widgets SET wd_name = 'バナー表示(廃止予定)', wd_status = -1 WHERE wd_id = 'banner' AND wd_deleted = false;
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009021001_to_2009022501.sql b/include/sql/update/2009021001_to_2009022501.sql
deleted file mode 100644 (file)
index c96c9c5..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009021001_to_2009022501.sql 1540 2009-03-02 11:24:33Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'pretty_photo';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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
-('pretty_photo', 'プリティフォト',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'サムネール表示した画像を拡大します。', '', 'jquery.tablednd',               true,           true,       true,         true,        true,         true,                                true,                true,              0,               now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009022501_to_2009030901.sql b/include/sql/update/2009022501_to_2009030901.sql
deleted file mode 100644 (file)
index f29f31c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009022501_to_2009030901.sql 1572 2009-03-12 02:46:52Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'css_add';
-INSERT INTO _widgets
-(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
-('css_add', 'CSS追加',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'テンプレートのCSSに加えてCSS定義を追加するためのウィジェットです。画面上には何も表示されません。',               false,           false,       true,         true,        true,         false,                                true,                true,              0,               now(),         now());
-
--- *** EC用テーブル ***
--- Eコマース設定マスター
-INSERT INTO commerce_config (cg_id,                     cg_value, cg_name,                        cg_index)
-VALUES                      ('permit_non_member_order', '0',      '非会員からの注文受付',           0);
-
--- 商品注文書トラン
-ALTER TABLE order_sheet ADD oe_client_id      CHAR(32)       DEFAULT ''                     NOT NULL;      -- クライアントID
-ALTER TABLE order_sheet ADD oe_custm_email    VARCHAR(40)    DEFAULT ''                     NOT NULL;      -- Eメールアドレス
-ALTER TABLE order_sheet ADD oe_deliv_email    VARCHAR(40)    DEFAULT ''                     NOT NULL;      -- Eメールアドレス
-ALTER TABLE order_sheet ADD oe_bill_email     VARCHAR(40)    DEFAULT ''                     NOT NULL;      -- Eメールアドレス
-
--- 商品受注トラン
-ALTER TABLE order_header ADD or_custm_email   VARCHAR(40)    DEFAULT ''                     NOT NULL;      -- Eメールアドレス
-ALTER TABLE order_header ADD or_deliv_email   VARCHAR(40)    DEFAULT ''                     NOT NULL;      -- Eメールアドレス
-ALTER TABLE order_header ADD or_bill_email    VARCHAR(40)    DEFAULT ''                     NOT NULL;      -- Eメールアドレス
-
diff --git a/include/sql/update/2009030901_to_2009031701.sql b/include/sql/update/2009030901_to_2009031701.sql
deleted file mode 100644 (file)
index fb9fbb5..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009030901_to_2009031701.sql 1620 2009-03-23 05:53:41Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'effect_nicejforms';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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
-('effect_nicejforms', 'effect_nicejforms',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'フォーム部品を装飾するウィジェット。', 'jquery', 'jquery',              true,           false,       true,         true,        true,         false,                                true,                true,              0,               now(),         now());
diff --git a/include/sql/update/2009031701_to_2009032301.sql b/include/sql/update/2009031701_to_2009032301.sql
deleted file mode 100644 (file)
index a52dbd7..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009031701_to_2009032301.sql 1647 2009-03-26 09:33:15Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'contactus_modal';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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
-('contactus_modal', 'モーダル型お問い合わせ',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'モーダルで起動するお問い合わせウィジェット。', 'jquery.simplemodal', 'jquery.simplemodal',              true,           true,       true,         true,        true,         true,                                true,                true,              0,               now(),         now());
diff --git a/include/sql/update/2009032301_to_2009032701.sql b/include/sql/update/2009032301_to_2009032701.sql
deleted file mode 100644 (file)
index 760ee43..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009032301_to_2009032701.sql 1683 2009-04-01 04:38:28Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
--- *** システムベーステーブル ***
--- インナーウィジェット情報マスター
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'staterate';
-INSERT INTO _iwidgets
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_official_level, iw_install_dt, iw_create_dt) VALUES
-('ec_main', 'staterate', '送付先基準', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL',      10,                now(),         now());
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'quantityrate';
-INSERT INTO _iwidgets
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_official_level, iw_install_dt, iw_create_dt) VALUES
-('ec_main', 'quantityrate', '商品数基準', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL',      10,                now(),         now());
-
--- *** EC用テーブル ***
--- 商品情報マスター
-ALTER TABLE product ADD pt_deliv_type VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 配送料金の計算方法
-ALTER TABLE product ADD pt_deliv_size VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 商品サイズ-送料計算に使用
-ALTER TABLE product ADD pt_deliv_fee  DECIMAL(15,4)  DEFAULT 0                     NOT NULL;      -- 商品単位送料-送料計算に使用
--- ショッピングカート商品項目
-ALTER TABLE shop_cart_item ADD si_active BOOLEAN        DEFAULT true                  NOT NULL;      -- 購入対象かどうか
diff --git a/include/sql/update/2009032701_to_2009040201.sql b/include/sql/update/2009032701_to_2009040201.sql
deleted file mode 100644 (file)
index 84186b0..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009032701_to_2009040201.sql 1730 2009-04-10 07:23:09Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- テンプレート情報マスター
-ALTER TABLE _templates ADD tm_type    INT            DEFAULT 0                    NOT NULL;      -- テンプレート種別(0=デフォルトテンプレート(Joomla!v1.0)、1=Joomla!v1.5)
-
--- インナーウィジェット情報マスター
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'productrate';
-INSERT INTO _iwidgets
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_official_level, iw_install_dt, iw_create_dt) VALUES
-('ec_main', 'productrate', '商品別規定', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL',      10,                now(),         now());
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'weightrate';
-INSERT INTO _iwidgets
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_official_level, iw_install_dt, iw_create_dt) VALUES
-('ec_main', 'weightrate', '送付先+重量基準', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL',      10,                now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009040201_to_2009041701.sql b/include/sql/update/2009040201_to_2009041701.sql
deleted file mode 100644 (file)
index e2f7a49..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009040201_to_2009041701.sql 1754 2009-04-18 10:40:37Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_title       VARCHAR(40)    DEFAULT ''                    NOT NULL;      -- タイトル
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009041701_to_2009042101.sql b/include/sql/update/2009041701_to_2009042101.sql
deleted file mode 100644 (file)
index 0a84048..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009041701_to_2009042101.sql 1882 2009-05-10 08:50:55Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,                  sc_name) VALUES
-('mobile_charset',               'Shift_JIS',               '携帯HTML上でのエンコーディング表記');
-
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_title_visible        BOOLEAN        DEFAULT true                  NOT NULL;      -- タイトルを表示するかどうか
-
--- テンプレート情報マスター
-ALTER TABLE _templates ADD tm_clean_type          INT            DEFAULT 0                     NOT NULL;      -- 出力のクリーン処理(0=処理なし,0以外=クリーン処理実行)
-
--- テンプレート情報
--- テンプレートを再登録
-TRUNCATE TABLE _templates;
-INSERT INTO _templates
-(tm_id,                     tm_name,                   tm_type, tm_mobile, tm_clean_type, tm_create_dt) VALUES
-('jt_millennium_expresso',  'jt_millennium_expresso',  0,       false,     0,             now()),
-('baladibol',               'baladibol',               0,       false,     0,             now()),
-('ellipse',                 'ellipse',                 0,       false,     0,             now()),
-('freshgreen',              'freshgreen',              0,       false,     0,             now()),
-('siteground44',            'siteground44',            0,       false,     0,             now()),
-('browns',                  'browns',                  0,       false,     0,             now()),
-('ec_simple_n2',            'ec_simple_n2',            0,       false,     0,             now()),
-('ec_simple_n2_pink',       'ec_simple_n2_pink',       0,       false,     0,             now()),
-('ec_simple_n3',            'ec_simple_n3',            0,       false,     0,             now()),
-('ec_simple_n3_aqua',       'ec_simple_n3_aqua',       0,       false,     0,             now()),
-('ec_simple_w2',            'ec_simple_w2',            0,       false,     0,             now()),
-('ec_simple_w3',            'ec_simple_w3',            0,       false,     0,             now()),
-('simple_green1',           'simple_green1',           0,       false,     0,             now()),
-('carnival',                'carnival',                0,       false,     0,             now()),
-('what',                    'what',                    0,       false,     0,             now()),
-('tft0006j_back_to_nature', 'tft0006j_back_to_nature', 1,       false,     1,             now()),
-('pwc007_music',            'pwc007_music',            1,       false,     1,             now()),
-('m/default',               'm/default',               0,       true,      0,             now());
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'templateChanger';
-INSERT INTO _widgets (wd_id, wd_name, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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
-('templateChanger',    'テンプレートチェンジャー',   '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'エンドユーザからテンプレートの変更を可能にする。', 'jquery', '',         false,           false,       true,         true,        false,        false,               false,true,           0, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'youtube2';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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
-('youtube2',     'YouTube2',           'YOUT', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'YouTubeの投稿動画を表示。',         false,           false,       true,         true,        true,        false,               true,true,           0, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'm/adtag';
-INSERT INTO _widgets
-(wd_id,      wd_name,   wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_mobile, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/adtag', '広告タグ', '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, '広告タグを埋め込む。',               true,      true,         true,              now(),         now());
-
-UPDATE _widgets SET wd_name = 'デフォルトメインメニュー(廃止予定)', wd_status = -1 WHERE wd_id = 'default_mainmenu' AND wd_deleted = false;
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009042101_to_2009051301.sql b/include/sql/update/2009042101_to_2009051301.sql
deleted file mode 100644 (file)
index 2010bdb..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009042101_to_2009051301.sql 1898 2009-05-17 03:34:13Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'm/custom_header';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_mobile, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/custom_header', 'カスタムヘッダ', '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'ヘッダ部を表示する。',               true,      true,         true,              now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'm/news';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_mobile, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/news', 'お知らせ', '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'お知らせを表示する。',               true,      true,         true,              now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009051301_to_2009052001.sql b/include/sql/update/2009051301_to_2009052001.sql
deleted file mode 100644 (file)
index 26f8436..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009051301_to_2009052001.sql 1935 2009-05-29 01:27:58Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,                  sc_name) VALUES
-('site_pc_in_public',            '1',                       'PC用サイト公開'),
-('site_mobile_in_public',        '1',                       '携帯用サイト公開');
-
--- メニューIDマスター
-ALTER TABLE _menu_id ADD mn_type           INT            DEFAULT 0                     NOT NULL;      -- メニュータイプ(0=単階層、1=多階層)
-
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'm/quizk';
-INSERT INTO _widgets
-(wd_id,     wd_name,        wd_description,                         wd_mobile, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/quizk', '携帯クイズ王', '携帯用のクイズサイト構築ウィジェット', true,      true,         true,           now(),         now());
-
--- *** システム標準テーブル ***
--- クイズ設定マスター
-DROP TABLE IF EXISTS quiz_config;
-CREATE TABLE quiz_config (
-    qc_id                VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ID(Key)
-    qc_value             TEXT                                         NOT NULL,      -- 値
-    qc_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 名称
-    qc_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明
-    qc_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    PRIMARY KEY          (qc_id)
-) TYPE=innodb;
-
--- クイズパターンセットIDマスター
-DROP TABLE IF EXISTS quiz_set_id;
-CREATE TABLE quiz_set_id (
-    qs_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    qs_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 定義項目ID
-    qs_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    qs_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 名称
-    qs_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明
-    qs_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    qs_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示制御
-    
-    qs_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    qs_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    qs_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    qs_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    qs_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (qs_serial),
-    UNIQUE               (qs_id,  qs_history_index)
-) TYPE=innodb;
-
--- クイズ問題定義マスター
-DROP TABLE IF EXISTS quiz_item_def;
-CREATE TABLE quiz_item_def (
-    qd_serial            INT            AUTO_INCREMENT,                              -- シリアル番号
-    qd_set_id            VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 定義セットID
-    qd_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- クイズ項目(問題、回答)ID
-    qd_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    qd_type              INT            DEFAULT 0                     NOT NULL,      -- 項目タイプ(0=問題、1=回答)
-    qd_select_answer_id  TEXT                                         NOT NULL,      -- 選択用回答ID
-    qd_answer_id         VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 正解回答ID
-    qd_title             VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- タイトル
-    qd_content           VARCHAR(300)   DEFAULT ''                    NOT NULL,      -- 内容
-    qd_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    qd_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示制御
-    
-    qd_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    qd_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    qd_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    qd_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    qd_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (qd_serial),
-    UNIQUE               (qd_set_id,   qd_id,  qd_history_index)
-) TYPE=innodb;
-
--- クイズユーザ回答トラン
-DROP TABLE IF EXISTS quiz_user_post;
-CREATE TABLE quiz_user_post (
-    qp_serial            INT            AUTO_INCREMENT,                              -- シリアル番号
-    qp_mobile_id         VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 携帯端末ID
-    qp_set_id            VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 定義セットID
-    qp_question_id       VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- クイズ問題ID
-    qp_answer_id         VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 回答ID
-    qp_result            BOOLEAN        DEFAULT false                 NOT NULL,      -- 回答結果
-    qp_dt                TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 記録日時
-    qp_access_log_serial INT            DEFAULT 0                     NOT NULL,      -- アクセスログ番号
-    PRIMARY KEY          (qp_serial),
-    UNIQUE               (qp_mobile_id,   qp_set_id,  qp_question_id)
-) TYPE=innodb;
-
-INSERT INTO quiz_set_id (qs_id,         qs_name,              qs_index)
-VALUES                  ('default_set', 'デフォルトパターン', 0);
-INSERT INTO quiz_config (qc_id,            qc_value,      qc_name,                        qc_index)
-VALUES                  ('current_set_id', 'default_set', '現在運用中のパターンセットID', 0);
-INSERT INTO quiz_item_def
-(qd_set_id,      qd_id, qd_type, qd_select_answer_id, qd_answer_id, qd_title, qd_content,            qd_index) VALUES
-('default_set', 'A001', 1,       '',                  '',           '回答1',  '回答1の説明です。',   0),
-('default_set', 'A002', 1,       '',                  '',           '回答2',  '回答2の説明です。',   0),
-('default_set', 'A003', 1,       '',                  '',           '回答3',  '回答3の説明です。',   0),
-('default_set', 'A004', 1,       '',                  '',           '回答4',  '回答4の説明です。',   0),
-('default_set', 'A005', 1,       '',                  '',           '回答5',  '回答5の説明です。',   0),
-('default_set', 'A006', 1,       '',                  '',           '回答6',  '回答6の説明です。',   0),
-('default_set', 'Q001', 0,       'A001;A002;A003',    'A002',       '問題1',  'サンプル問題1です。', 1),
-('default_set', 'Q002', 0,       'A006;A004;A005',    'A006',       '問題2',  'サンプル問題2です。', 2);
diff --git a/include/sql/update/2009052001_to_2009060401.sql b/include/sql/update/2009052001_to_2009060401.sql
deleted file mode 100644 (file)
index 96428c0..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009052001_to_2009060401.sql 1968 2009-06-04 07:57:50Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets MODIFY wd_description       TEXT                                         NOT NULL;-- 説明
-
-UPDATE _widgets SET wd_description = '複数のメニューが作成できる1階層の新型デフォルトメニューです。サブメニューも管理できる共通のメニュー定義を使用します。ナビゲーションメニューの位置(画面上部)にある「user3」ポジションに配置するとナビゲーションメニューが表示できます。' WHERE wd_id = 'default_menu' AND wd_deleted = false;
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009060401_to_2009060601.sql b/include/sql/update/2009060401_to_2009060601.sql
deleted file mode 100644 (file)
index a0e0c62..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009060401_to_2009060601.sql 1973 2009-06-06 10:45:06Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_joomla_class          VARCHAR(50)    DEFAULT ''                    NOT NULL;      -- Joomla!テンプレート用のクラス名
-
-UPDATE _widgets SET wd_joomla_class = '_menu' WHERE wd_id = 'default_mainmenu' AND wd_deleted = false;
-UPDATE _widgets SET wd_joomla_class = '_menu' WHERE wd_id = 'default_menu' AND wd_deleted = false;
-UPDATE _widgets SET wd_joomla_class = '_menu' WHERE wd_id = 'ec_menu' AND wd_deleted = false;
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009060601_to_2009061501.sql b/include/sql/update/2009060601_to_2009061501.sql
deleted file mode 100644 (file)
index 84c66a5..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009060601_to_2009061501.sql 2000 2009-06-21 06:12:45Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,                  sc_name) VALUES
-('distribution_name',            'magic3.org',              'ディストリビューション名'),
-('distribution_version',         '',                        'ディストリビューションバージョン');
-
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'print';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                     wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('print', '印刷',  '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'あらかじめ印刷部分を設定した部分印刷を行います。', true,            false,       'jquery',                       '',                  true,         false,               true,                true,           now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'contactus_custom';
-INSERT INTO _widgets
-(wd_id,              wd_name,                          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                             wd_read_scripts, wd_read_css,wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('contactus_custom', 'カスタムお問い合わせメール送信', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'カスタマイズ可能なお問い合わせメール送信', false,           false,     '', 'jquery.tablednd', true,         false,               true,                true,           now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009061501_to_2009062601.sql b/include/sql/update/2009061501_to_2009062601.sql
deleted file mode 100644 (file)
index 209ef6c..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009061501_to_2009062601.sql 2026 2009-07-01 10:36:54Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,         sc_name) VALUES
-('mobile_use_session',           '1',              '携帯セッション管理');
-
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'reg_user';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,           wd_add_script_lib, wd_has_admin, wd_initialized, wd_launch_index, wd_install_dt, wd_create_dt) VALUES
-('reg_user', '汎用ユーザ登録', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '汎用的なユーザ登録機能', 'md5', true,         true,           0,               now(), now());
-DELETE FROM _widgets WHERE wd_id = 'm/default_login';
-INSERT INTO _widgets
-(wd_id,             wd_name,              wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,             wd_mobile, wd_has_admin, wd_initialized, wd_launch_index, wd_install_dt, wd_create_dt) VALUES
-('m/default_login', 'デフォルトログイン', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'デフォルトのログイン機能', true,      false,        true,           100,             now(),         now());
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'm/smallfont';
-INSERT INTO _templates
-(tm_id,                     tm_name,                   tm_type, tm_mobile, tm_clean_type, tm_create_dt) VALUES
-('m/smallfont',             'm/smallfont',             0,       true,      0,             now());
-
--- メール内容
-DELETE FROM _mail_form WHERE mf_id = 'regist_user_auto';
-INSERT INTO _mail_form (mf_id,              mf_language_id, mf_subject,         mf_content,                                                                 mf_create_dt) 
-VALUES                 ('regist_user_auto', 'ja',           'ユーザ登録',       'ご登録ありがとうございました。\nパスワードを送信します。\nこのパスワードでログインするとユーザとして承認されます。\n\n[#URL#]\n\nパスワード: [#PASSWORD#]', now());
-DELETE FROM _mail_form WHERE mf_id = 'regist_user_auth';
-INSERT INTO _mail_form (mf_id,              mf_language_id, mf_subject,         mf_content,                                                                 mf_create_dt) 
-VALUES                 ('regist_user_auth', 'ja',           'ユーザ登録',       'ご登録ありがとうございました。\nパスワードを送信します。\n管理者からの承認後、このパスワードでログイン可能になります。\n\nパスワード: [#PASSWORD#]', now());
-DELETE FROM _mail_form WHERE mf_id = 'regist_user_completed';
-INSERT INTO _mail_form (mf_id,                   mf_language_id, mf_subject,         mf_content,                                                                 mf_create_dt) 
-VALUES                 ('regist_user_completed', 'ja',           'ユーザ自動登録完了',   'ユーザの登録を承認しました。\n\nアカウント: [#ACCOUNT#]', now());
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009062601_to_2009070601.sql b/include/sql/update/2009062601_to_2009070601.sql
deleted file mode 100644 (file)
index 342b586..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009062601_to_2009070601.sql 2053 2009-07-07 07:36:05Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,               sc_value,         sc_name) VALUES
-('use_ssl',           '0',              'SSL通信');
-
--- ページ情報マスター
-INSERT INTO _page_info
-(pn_id,     pn_sub_id, pn_content_type) VALUES
-('index',   'shop',    'product'),
-('m_index', 'shop',    'product');
-
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'ec_disp';
-INSERT INTO _widgets
-(wd_id,     wd_name,                wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                      wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('ec_disp', 'Eコマース - 商品表示', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'Eコマースの商品表示機能。商品の説明や一覧を表示。', true,         true,   now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_main';
-INSERT INTO _widgets
-(wd_id,     wd_name,              wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                                        wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('ec_main', 'Eコマース - メイン', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'Eコマースのメインプログラム。会員登録処理や商品購入処理などを行う。', true,         true,   now(), now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009070601_to_2009071401.sql b/include/sql/update/2009070601_to_2009071401.sql
deleted file mode 100644 (file)
index bba0e53..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009070601_to_2009071401.sql 2115 2009-07-14 09:49:58Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,               sc_value,         sc_name) VALUES
-('ssl_root_url',      '',               'SSL用のルートURL');
-
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'm/adtag';
-INSERT INTO _widgets
-(wd_id,      wd_name,   wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_mobile, wd_has_admin, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/adtag', '広告タグ', '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, '広告タグを埋め込む。',               true,      true,         true, true,              now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'm/news';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_mobile, wd_has_admin, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/news', 'お知らせ', '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'お知らせを表示する。',               true,      true,         true,   true,           now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'm/contactus_custom';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, wd_mobile, wd_has_admin, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/contactus_custom', 'カスタムお問い合わせ', '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'カスタマイズ可能なお問い合わせメール送信', '', 'jquery.tablednd',              true,      true,         true, true,              now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009071401_to_2009071601.sql b/include/sql/update/2009071401_to_2009071601.sql
deleted file mode 100644 (file)
index 7715fed..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009071401_to_2009071601.sql 2144 2009-07-19 06:59:15Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ユーザアクセスログトラン
-ALTER TABLE _access_log ADD al_path VARCHAR(40)    DEFAULT ''                    NOT NULL;      -- アクセスポイントパス
-
--- クライアントIPアクセス制御マスター
-DROP TABLE IF EXISTS _access_ip;
-CREATE TABLE _access_ip (
-    ai_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ai_type              INT            DEFAULT 0                     NOT NULL,      -- アクセス制御タイプ(0=未設定、1=管理機能アクセス許可、2=アクセス拒否、3=登録許可)
-    ai_ip                VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- アクセス元IP(IPv6対応)
-    ai_ip_mask           VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- IPマスク値
-    ai_server_id         CHAR(32)       DEFAULT ''                    NOT NULL,      -- サーバ識別ID
-    
-    ai_param             TEXT                                         NOT NULL,      -- その他パラメータ
-    PRIMARY KEY          (ai_serial),
-    UNIQUE               (ai_type, ai_ip, ai_ip_mask, ai_server_id)
-) TYPE=innodb;
-
--- ページIDマスター
-INSERT INTO _page_id 
-(pg_id,          pg_type, pg_default_sub_id, pg_path,       pg_name,                        pg_description,                       pg_priority, pg_active, pg_mobile, pg_editable) VALUES
-('regist',       0,       'content',         'regist',      'データ登録用アクセスポイント', 'データ登録用アクセスポイント',       3,           true,      false,     true);
-
--- ページ情報マスター
-DELETE FROM _page_info;
-INSERT INTO _page_info
-(pn_id,     pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('index',   'content',   'content',       false),
-('index',   'wiki',      'wiki',          false),
-('index',   'contact',   '',              true),
-('index',   'shop_safe', '',              true),
-('index',   'safe',      '',              true),
-('m_index', 'content',   'content',       false),
-('m_index', 'wiki',      'wiki',          false);
-
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'fontsize';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                     wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('fontsize', 'フォントサイズ',  '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'フォントサイズを拡大縮小して保持します', true,            true,       'jquery.cookie',                       '',                  true,         false,               false,                true,           now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009071601_to_2009080901.sql b/include/sql/update/2009071601_to_2009080901.sql
deleted file mode 100644 (file)
index 25fef26..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009071601_to_2009080901.sql 2214 2009-08-11 02:45:03Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,               sc_value,         sc_name) VALUES
-('use_ssl_admin',     '0',              '管理画面のSSL通信');
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_has_rss         BOOLEAN        DEFAULT false                 NOT NULL;      -- RSS機能があるかどうか
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009080901_to_2009082701.sql b/include/sql/update/2009080901_to_2009082701.sql
deleted file mode 100644 (file)
index 4dcc5b7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009080901_to_2009082701.sql 2288 2009-09-05 04:50:12Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-UPDATE _system_config SET sc_value = 'SJIS-win' WHERE sc_id = 'mobile_encoding';
-
--- *** システム標準テーブル ***
--- コンテンツマスター
-ALTER TABLE content ADD cn_meta_description  TEXT                                         NOT NULL;      -- METAタグ、ページ要約
-ALTER TABLE content ADD cn_meta_keywords     TEXT                                         NOT NULL;      -- METAタグ、検索用キーワード
-
--- ブログエントリー(記事)マスター
-ALTER TABLE blog_entry ADD be_theme_id       VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- ブログテーマID
diff --git a/include/sql/update/2009082701_to_2009091901.sql b/include/sql/update/2009082701_to_2009091901.sql
deleted file mode 100644 (file)
index 3e0b57d..0000000
+++ /dev/null
@@ -1,277 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009082701_to_2009091901.sql 2402 2009-10-08 07:42:03Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                 sc_value,         sc_name) VALUES
-('use_page_cache',      '0',              '画面キャッシュ'),
-('page_cache_lifetime', '1440',           '画面キャッシュの保持時間(分)');        -- 1日ごと
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_cache_type    INT            DEFAULT 0                     NOT NULL;      -- キャッシュタイプ(0=不可、1=可、2=非ログイン時可, 3=ページキャッシュのみ可)
-ALTER TABLE _widgets ADD wd_cache_lifetime    INT        DEFAULT 0                     NOT NULL;      -- キャッシュの保持時間(分)
-ALTER TABLE _widgets ADD wd_view_control_type INT        DEFAULT 0                     NOT NULL;      -- 表示出力の制御タイプ(-1=固定、0=可変、1=ウィジェットパラメータ可変、2=URLパラメータ可変)
-
--- ウィジェットパラメータマスター
-ALTER TABLE _widget_param ADD wp_cache_html        TEXT                                         NOT NULL;      -- キャッシュデータ
-ALTER TABLE _widget_param ADD wp_cache_title       TEXT                                         NOT NULL;      -- キャッシュヘッダタイトル
-ALTER TABLE _widget_param ADD wp_cache_user_id     INT            DEFAULT 0                     NOT NULL;      -- キャッシュ更新者
-ALTER TABLE _widget_param ADD wp_cache_update_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- キャッシュ更新日時
-
--- キャッシュトラン
-DROP TABLE IF EXISTS _cache;
-CREATE TABLE _cache (
-    ca_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ca_widget_id         VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- ウィジェットID(ファイル名)
-    ca_url               VARCHAR(200)   DEFAULT ''                    NOT NULL,      -- アクセスURL
-    
-    ca_page_id           VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- ページID
-    ca_page_sub_id       VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- ページ補助ID
-    ca_html              TEXT                                         NOT NULL,      -- キャッシュデータ
-    
-    ca_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ca_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    PRIMARY KEY          (ca_serial),
-    UNIQUE               (ca_widget_id, ca_url)
-) TYPE=innodb;
-
--- ページ情報マスター
-DELETE FROM _page_info;
-INSERT INTO _page_info
-(pn_id,     pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('index',   'content',   'content',       false),
-('index',   'shop',      'product',       false),
-('index',   'shop_safe', '',              true),
-('index',   'bbs',       'bbs',           false),
-('index',   'blog',      'blog',          false),
-('index',   'wiki',      'wiki',          false),
-('index',   'contact',   '',              true),
-('index',   'safe',      '',              true),
-('m_index', 'content',   'content',       false),
-('m_index', 'shop',      'product',       false),
-('m_index', 'bbs',       'bbs',           false),
-('m_index', 'blog',      'blog',          false),
-('m_index', 'wiki',      'wiki',          false);
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'default_mainmenu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_joomla_class, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('default_mainmenu',   'デフォルトメインメニュー(廃止予定)',   'DMEN', '1.0.0',  '_menu',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '常に表示し共通で使用するメインメニュー。',         false,           false,       true,         true,        true,         false,               false,true,           0, 2, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'default_menu';
-INSERT INTO _widgets
-(wd_id,                wd_name,                       wd_version, wd_joomla_class, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('default_menu', 'デフォルトメニュー',         '1.0.0',    '_menu', 'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる1階層の新型デフォルトメニューです。サブメニューも管理できる共通のメニュー定義を使用します。ナビゲーションメニューの位置(画面上部)にある「user3」ポジションに配置するとナビゲーションメニューが表示できます。', '', '', true,  true,              true, 2,          1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'nav_menu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('nav_menu',   'ナビゲーションメニュー',   'NAVM', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ページのヘッダ下や、フッタ部に表示するメニュー。',           false,           false,       true,         true,        true,         false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'nav_menu_css';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('nav_menu_css',   'ナビゲーションメニュー(CSS)',   'NAV2', '1.0.0',  '',        '', 'Magic3.org', 'GPL', 10, 'ページのヘッダ下や、フッタ部に表示するメニュー。SPANタグにて表示。',           false,           false,       true,         true,        true,         false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'default_footer';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('default_footer',     'デフォルトフッタ',           'DFOT', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'フッタ部分に表示し、著作権の表示を行う。',          false,           false,       true,         true,        false,        false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'custom_header';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('custom_header',     'カスタムヘッダ',           'DFHT', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ヘッダ部分で画像やサイトのタイトル文字列をカスタマイズ。',          false,           false,       true,         true,        true,        false,               false,true,           0, 3, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_login_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_login_box',       'Eコマース - ログイン',       'ELOG', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Eコマースの会員ログイン用ボックス。', 'md5',         false,           false,       true,         true,        false,        false,               false,true,           0, 2, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'custom_footer';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('custom_footer',     'カスタムフッタ',           'CSFT', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'フッタ部に表示し、著作権等の表示を行う。',          false,           false,       true,         true,        true,        false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'separator';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('separator',          'セパレータ',                 'SEPT', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ウィジェット間の区切り線。',          false,           false,       true,         true,        false,         false,               false,true,          0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'templateChanger';
-INSERT INTO _widgets (wd_id, wd_name, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('templateChanger',    'テンプレートチェンジャー',   '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'エンドユーザからテンプレートの変更を可能にする。', 'jquery', '',         false,           false,       true,         true,        false,        false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'access_count';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('access_count',       'アクセスカウンター',         'ACCT', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'サイトのアクセス数を表示。',          false,           false,       true,         true,        false,        false,               false,true,           0, 0, 0, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'dg_clock';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('dg_clock',           'デジタル時計',               'DGCK', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'デジタル時計。',          false,           false,       true,         true,        false,        false,               false,true,           0, 0, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'default_content';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('default_content',    'デフォルトコンテンツビュー', 'content', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '画像やテキストからできた様々なコンテンツを表示。表示コンテンツはURLパラメータで指定。コンテンツ(content)ページ専用。',          false,           false,       true,         true,        true,         false,               false,true,           0, 2, 2, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'static_content';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('static_content',    '固定コンテンツビュー', '', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '固定でコンテンツを表示。コンテンツはデフォルトコンテンツビューと共有。',          false,           false,       true,         true,        true,         false,               true,true,           0, 2, 1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'content_search_box';
-INSERT INTO _widgets (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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('content_search_box',   'コンテンツ - 検索', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'コンテンツを検索するためのボックス。',        false,           false,       true,         true,        false,         false,               false,true,               0, 1, -1, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'news';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('news',    'お知らせ', 'NEWS', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'お知らせを表示。',          false,           false,       true,         true,        true,         false,               true,true,           0, 1, 1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'blogparts_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('blogparts_box',    'ブログパーツ', 'BPAR', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ブログパーツを表示',          false,           false,       true,         true,        true,         false,               true,true,           0, 1, 1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_menu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_joomla_class, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_menu',   'Eコマース - 商品メニュー',   'ECMN', '1.0.0',  '_menu',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Eコマースの商品メニュー。カテゴリで取得した商品一覧をEコマースメインウィジェットに表示させる。',          false,           false,       true,         true,        true,         false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_category_menu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_category_menu',   'Eコマース - カテゴリーメニュー', 'ECCM', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Eコマースカテゴリメニュー',          false,           false,       true,         true,        true,         false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_cart_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_cart_box',        'Eコマース - カート',     'ECCT', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Eコマースでカート内の商品を表示するボックス。',         false,           false,       true,         true,        false,         false,               false,true,           100, 0, 0, now(),      now());
-DELETE FROM _widgets WHERE wd_id = 'ec_product_header';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_product_header',               'Eコマース - 商品ヘッダ',                   'ECHD', '1.0.0',  '',  'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Eコマース商品メニューと連携するウィジェットです。商品メニュー選択時に商品ヘッダコンテンツを表示します。',     false,           false,       true,         true,        false,        false,               false,true,           0, 1, 2, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_product_display';
-INSERT INTO _widgets
-(wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_product_display',            'Eコマース - 新着おすすめ',         'ECPD', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '商品のおすすめや新着などの一覧を表示する。',          false,           false,       true,         true,        true,         false,               true,true,           0, 1, 2, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_search_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_search_box',   'Eコマース - 検索',            'ECSR', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Eコマース商品検索ボックス。',         false,           false,       true,         true,        false,         false,               false,true,               0, 1, -1, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'blog_main';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('blog_main',          'ブログ - メイン',            'BGMA', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ブログの記事の内容を表示する。', 'entry_detail=jquery-ui-plus',          false,           false,       true,         true,        true,        false,               false,true,               0, 1, 2, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'blog_search_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('blog_search_box',   'ブログ - 検索',            'BGSR', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ブログ記事を検索するためのボックス。',        false,           false,       true,         true,        false,         false,               false,true,               0, 1, -1, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'blog_new_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('blog_new_box',   'ブログ - 新規',            'BGNW', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ブログの新規一覧を表示。',         false,           false,       true,         true,        false,         false,               false,true,               0, 1, -1, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'blog_calendar_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('blog_calendar_box',   'ブログ - カレンダー',            'BGCL', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'カレンダーからブログ記事にアクセスするためのボックス。',        false,           false,       true,         true,        false,         false,               false,true,               0, 3, 2, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'bbs_main';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('bbs_main',          '掲示板 - メイン',            'BBMA', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '掲示板の投稿記事を表示。',         false,           false,       true,         true,        true,        false,               false,true,               0, 0, 2, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'bbs_login_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('bbs_login_box',         '掲示板 - ログイン',            'BBML', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '掲示板の会員ログイン用ボックス。', 'md5',        false,           false,       true,         true,        false,        false,               false,true,               0, 2, -1, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'contactus';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('contactus',          'お問い合わせメール送信',            'CONU', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'お問い合わせの入力データをメールで送る。',          false,           false,       true,         true,        true,        false,               false,true,               0, 0, 0, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'joomla_clock';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('joomla_clock',           'Joomla時計',               'JMCK', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Joomlaロゴの時計。',          false,           false,       true,         true,        false,        false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'qrcode';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('qrcode',           'QRコード',               'QRVW', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'QRコードを作成表示。',         false,           false,       true,         true,        true,        true,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'youtube2';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('youtube2',     'YouTube2',           'YOUT', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'YouTubeの投稿動画を表示。',         false,           false,       true,         true,        true,        false,               true,true,           0, 1, 1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'flash';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('flash',     'Flash',           '', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Flashファイルを表示。',         false,           false,       true,         true,        true,        false,               true,true,           0, 1, 1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'release_info';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('release_info',               'Magic3リリース情報',                   'RINF', '1.0.0',  '',  'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Magic3の最新リリース情報を表示。',      false,           false,       true,         true,        false,        false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'reserve_main';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('reserve_main',            '予約 - メイン',         'RESM', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '予約管理のメインプログラム。',          false,           false,       true,         true,        true,         true,               false,true,           0, 0, 2, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_product_random_box';
-INSERT INTO _widgets
-(wd_id, wd_name, wd_type, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_product_random_box',               'Eコマース - 商品ランダム表示',                   'ECPR', '1.0.0',  '',  'Naoki Hirata', 'Magic3.org', 'GPL', 10, '商品をランダムに表示する。', 'jquery.easing,jquery.jcarousel',    false,           true,       true,         true,        true,        false,               false,true,           0, 0, 0, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'blog_category_menu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('blog_category_menu',   'ブログ - カテゴリーメニュー', 'BGCM', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ブログカテゴリメニュー',          false,           false,       true,         true,        false,         false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'blog_archive_menu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('blog_archive_menu',   'ブログ - アーカイブメニュー', 'BGAM', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ブログアーカイブメニュー',          false,           false,       true,         true,        false,         false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'photoslide';
-INSERT INTO _widgets
-(wd_id, wd_name, wd_type, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('photoslide',               '画像スライドショー',                   '', '1.0.0',  '',  'Naoki Hirata', 'Magic3.org', 'GPL', 10, '画像をスライドショー表示する。', 'jquery.cycle', 'jquery.cycle',   false,           false,       true,         true,        true,        false,               true,true,           0, 3, 1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'phpcode';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('phpcode',     'PHPコード実行',           '', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'PHPのプログラムコードを実行。', 'jquery.codepress',        false,           false,       true,         true,        true,        false,               true,true,           0, 0, 0, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'g_analytics';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('g_analytics',     'Google Analytics',           '', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Google Analytics トラッキングコードを出力する。',          false,           false,       true,         true,        true,        false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'g_qrcode';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('g_qrcode',     'Google QRコード',           '', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Google APIを使ったQRコード表示。',         false,           false,       true,         true,        true,        false,               true,true,           0, 1, 1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'wiki_main';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('wiki_main',          'Wiki - メイン',            '', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'Wikiを表示する。', 'md5', 'md5',         false,           true,       true,         true,        true,        false,               false,true,               0, 1, 2, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'default_login_box';
-INSERT INTO _widgets (wd_id, wd_name, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('default_login_box',         'デフォルトログイン',   '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'デフォルトのログイン用ボックス。', 'md5',        false,           false,       true,         true,        false,        false,               false,true,               0, 2, -1, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'accordion_menu';
-INSERT INTO _widgets
-(wd_id,            wd_name,                 wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('accordion_menu', 'アコーディオンメニュー','1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる2階層のアコーディオンメニューです。サブメニューも管理できる共通のメニュー定義を使用します。', 'jquery-ui,jquery-ui-plus', 'jquery-ui,jquery-ui-plus', true,  true,              true, 3,          1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'dropdown_menu';
-INSERT INTO _widgets
-(wd_id,            wd_name,                 wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('dropdown_menu', 'ドロップダウンメニュー','1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる多階層のドロップダウンメニューです。サブメニューも管理できる共通のメニュー定義を使用します。', true, true, 'jquery.bgiframe,jquery.hoverintent', 'jquery.bgiframe,jquery.hoverintent', true,  true,              true, 3,          1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'top_content_box';
-INSERT INTO _widgets
-(wd_id,             wd_name,                    wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('top_content_box', 'トップアクセスコンテンツリスト', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '閲覧数の多い順からコンテンツリストを表示します。', false, false, '', '', true,  false,              true, 1,          -1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'update_content_box';
-INSERT INTO _widgets
-(wd_id,             wd_name,                    wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('update_content_box', '更新コンテンツリスト', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '最新の更新からコンテンツリストを表示します。', false, false, '', '', true,  false,              true, 1,          -1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'banner2';
-INSERT INTO _widgets
-(wd_id,     wd_name,              wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                                                     wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('banner2', 'バナー表示2', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'バナー画像をグループ化して、グループごとに表示できるバナー管理ウィジェットです。', false,           false,       '',                '',                  true, true,         true,                true,  0,         1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'image2';
-INSERT INTO _widgets
-(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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('image2', '画像2',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, '様々な画像を単一で表示。',               false,           false,       true,         true,        true,         false,                                true,                true,              0, 1,              1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'pretty_photo';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('pretty_photo', 'プリティフォト',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'サムネール表示した画像を拡大します。', '', 'jquery.tablednd',               true,           true,       true,         true,        true,         true,                                true,                true,              0,  3,             1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'css_add';
-INSERT INTO _widgets
-(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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('css_add', 'CSS追加',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'テンプレートのCSSに加えてCSS定義を追加するためのウィジェットです。画面上には何も表示されません。',               false,           false,       true,         true,        true,         false,                                true,                true,              0,  3,             1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'effect_nicejforms';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('effect_nicejforms', 'effect_nicejforms',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'フォーム部品を装飾するウィジェット。', 'jquery', 'jquery',              true,           false,       true,         true,        true,         false,                                true,                true,              0, 1,              1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'contactus_modal';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('contactus_modal', 'モーダル型お問い合わせ',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'モーダルで起動するお問い合わせウィジェット。', 'jquery.simplemodal', 'jquery.simplemodal',              true,           true,       true,         true,        true,         true,                                true,                true, 0,             0,               0, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'contactus_custom';
-INSERT INTO _widgets
-(wd_id,              wd_name,                          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                             wd_read_scripts, wd_read_css,wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('contactus_custom', 'カスタムお問い合わせメール送信', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'カスタマイズ可能なお問い合わせメール送信', false,           false,     '', 'jquery.tablednd', true,         false,               true,                true, 0,          0, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'print';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                     wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('print', '印刷',  '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'あらかじめ印刷部分を設定した部分印刷を行います。', true,            false,       'jquery',                       '',                  true,         false,               true,                true, 1,          1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'reg_user';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,           wd_add_script_lib, wd_has_admin, wd_initialized, wd_launch_index, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('reg_user', '汎用ユーザ登録', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '汎用的なユーザ登録機能', 'md5', true,         true,           0, 0,              0, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_disp';
-INSERT INTO _widgets
-(wd_id,     wd_name,                wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                      wd_has_admin, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_disp', 'Eコマース - 商品表示', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'Eコマースの商品表示機能。商品の説明や一覧を表示。', true,         true, 1,  2, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'ec_main';
-INSERT INTO _widgets
-(wd_id,     wd_name,              wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                                        wd_has_admin, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('ec_main', 'Eコマース - メイン', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'Eコマースのメインプログラム。会員登録処理や商品購入処理などを行う。', true,         true,   0, 2, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'fontsize';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                     wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('fontsize', 'フォントサイズ',  '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'フォントサイズを拡大縮小して保持します', true,            true,       'jquery.cookie',                       '',                  true,         false,               false,                true, 1,          1, now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009091901_to_2009101101.sql b/include/sql/update/2009091901_to_2009101101.sql
deleted file mode 100644 (file)
index 1f377d3..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009091901_to_2009101101.sql 2405 2009-10-12 03:31:07Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページ情報マスター
-ALTER TABLE _page_info ADD pn_meta_title  TEXT                                         NOT NULL;      -- METAタグ、タイトル
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009101101_to_2009101301.sql b/include/sql/update/2009101101_to_2009101301.sql
deleted file mode 100644 (file)
index f13c8f5..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009101101_to_2009101301.sql 2419 2009-10-16 04:31:02Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェットパラメータマスター
-ALTER TABLE _widget_param ADD wp_meta_title        TEXT                                         NOT NULL;      -- METAタグ、タイトル
-ALTER TABLE _widget_param ADD wp_meta_description  TEXT                                         NOT NULL;      -- METAタグ、ページ要約
-ALTER TABLE _widget_param ADD wp_meta_keywords     TEXT                                         NOT NULL;      -- METAタグ、検索用キーワード
-
--- キャッシュトラン
-ALTER TABLE _cache ADD ca_meta_title        TEXT                                         NOT NULL;      -- METAタグ、タイトル
-ALTER TABLE _cache ADD ca_meta_description  TEXT                                         NOT NULL;      -- METAタグ、ページ要約
-ALTER TABLE _cache ADD ca_meta_keywords     TEXT                                         NOT NULL;      -- METAタグ、検索用キーワード
-
--- *** システム標準テーブル ***
--- コンテンツ(検索対象となる)マスター
-ALTER TABLE content ADD cn_meta_title       TEXT                                         NOT NULL;      -- METAタグ、タイトル
-
--- *** EC用テーブル ***
--- 商品情報マスター
-ALTER TABLE product ADD pt_meta_title        TEXT                                         NOT NULL;      -- METAタグ、タイトル
-ALTER TABLE product ADD pt_meta_description  TEXT                                         NOT NULL;      -- METAタグ、ページ要約
-ALTER TABLE product ADD pt_meta_keywords     TEXT                                         NOT NULL;      -- METAタグ、検索用キーワード
-
diff --git a/include/sql/update/2009101301_to_2009101801.sql b/include/sql/update/2009101301_to_2009101801.sql
deleted file mode 100644 (file)
index 8ffa741..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009101301_to_2009101801.sql 2427 2009-10-18 05:12:56Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                    sc_value,         sc_name) VALUES
-('use_template_id_in_session', '1',              'セッションにテンプレートIDを保存');
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009101801_to_2009102701.sql b/include/sql/update/2009101801_to_2009102701.sql
deleted file mode 100644 (file)
index 487fbfd..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009101801_to_2009102701.sql 2483 2009-10-29 04:03:07Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'default_mainmenu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_joomla_class, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('default_mainmenu',   'デフォルトメインメニュー(廃止予定)',   'menu', '1.0.0',  '_menu',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '常に表示し共通で使用するメインメニュー。',         false,           false,       true,         true,        true,         false,               false,true,           0, 2, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'default_menu';
-INSERT INTO _widgets
-(wd_id,                wd_name, wd_type,                      wd_version, wd_joomla_class, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('default_menu', 'デフォルトメニュー', 'menu',         '1.0.0',    '_menu', 'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる1階層の新型デフォルトメニューです。サブメニューも管理できる共通のメニュー定義を使用します。ナビゲーションメニューの位置(画面上部)にある「user3」ポジションに配置するとナビゲーションメニューが表示できます。', '', '', true,  true,              true, 2,          1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'nav_menu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('nav_menu',   'ナビゲーションメニュー',   'menu', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ページのヘッダ下や、フッタ部に表示するメニュー。',           false,           false,       true,         true,        true,         false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'nav_menu_css';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('nav_menu_css',   'ナビゲーションメニュー(CSS)',   'menu', '1.0.0',  '',        '', 'Magic3.org', 'GPL', 10, 'ページのヘッダ下や、フッタ部に表示するメニュー。SPANタグにて表示。',           false,           false,       true,         true,        true,         false,               false,true,           0, 1, -1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'accordion_menu';
-INSERT INTO _widgets
-(wd_id,            wd_name, wd_type,                  wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('accordion_menu', 'アコーディオンメニュー','menu','1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる2階層のアコーディオンメニューです。サブメニューも管理できる共通のメニュー定義を使用します。', 'jquery-ui,jquery-ui-plus', 'jquery-ui,jquery-ui-plus', true,  true,              true, 3,          1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'dropdown_menu';
-INSERT INTO _widgets
-(wd_id,            wd_name, wd_type,                 wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('dropdown_menu', 'ドロップダウンメニュー','menu','1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる多階層のドロップダウンメニューです。サブメニューも管理できる共通のメニュー定義を使用します。', true, true, 'jquery.bgiframe,jquery.hoverintent', 'jquery.bgiframe,jquery.hoverintent', true,  true,              true, 3,          1, now(),         now());
--- ウィジェット情報(携帯用)
-DELETE FROM _widgets WHERE wd_id = 'm/mainmenu';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_type, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_mobile, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/mainmenu', '携帯メインメニュー', 'menu',  '1.0.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, '常に表示するメインメニュー。(携帯用)',               true,      true,         true,              now(),         now());
--- ウィジェット情報(新規追加)
-DELETE FROM _widgets WHERE wd_id = 'contactus_freelayout';
-INSERT INTO _widgets
-(wd_id,              wd_name,                          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                             wd_read_scripts, wd_read_css,wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('contactus_freelayout', 'フリーレイアウトお問い合わせ', '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'フリーレイアウトでカスタマイズ可能なお問い合わせメール送信', false,           false,     '', 'jquery.tablednd', true,         false,               true,                true, 0,          0, now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009102701_to_2009103001.sql b/include/sql/update/2009102701_to_2009103001.sql
deleted file mode 100644 (file)
index b2eb259..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009102701_to_2009103001.sql 2494 2009-10-31 08:18:25Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報(新規追加)
-DELETE FROM _widgets WHERE wd_id = 'googlemaps';
-INSERT INTO _widgets
-(wd_id,        wd_name,        wd_version, wd_author,                       wd_copyright,                    wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, wd_read_scripts, wd_read_css, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('googlemaps', 'Googleマップ', '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL', 10, 'Goolgeマップを表示。', 'jquery', 'jquery',        false,           false,       true,        false,               true,true,           3, 1, now(), now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009103001_to_2009110201.sql b/include/sql/update/2009103001_to_2009110201.sql
deleted file mode 100644 (file)
index 5a8ad9a..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009103001_to_2009110201.sql 2511 2009-11-03 05:14:14Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_active            BOOLEAN        DEFAULT true                  NOT NULL;      -- 一般ユーザが実行可能かどうか
-
--- ウィジェット情報(新規追加)
-DELETE FROM _widgets WHERE wd_id = 'gotop';
-INSERT INTO _widgets
-(wd_id,   wd_name,        wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,     wd_add_script_lib, wd_add_script_lib_a, wd_read_scripts, wd_read_css, wd_available, wd_editable, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('gotop', '上へ参ります', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '画面トップへ移動', 'jquery',          '',                  false,           false,       true,         true,        false,        false,               false,               true,           1,             -1, now(), now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009110201_to_2009110901.sql b/include/sql/update/2009110201_to_2009110901.sql
deleted file mode 100644 (file)
index f867e24..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009110201_to_2009110901.sql 2562 2009-11-18 03:58:30Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                        sc_value,         sc_name) VALUES
-('default_connect_server_url', '',               'デフォルトの連携サーバURL'),
-('config_window_style',        'toolbar=no,menubar=no,location=no,status=no,scrollbars=yes,resizable=yes,width=1050,height=900',               '設定画面の表示属性');
-
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_menu_id           VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- メニューID
-
--- メニューIDマスター
-INSERT INTO _menu_id
-(mn_id,       mn_name,         mn_description, mn_sort_order) VALUES
-('sub_menu1', 'サブメニュー1', '',             1),
-('sub_menu2', 'サブメニュー2', '',             2),
-('sub_menu3', 'サブメニュー3', '',             3);
-
--- ページIDマスター
-INSERT INTO _page_id 
-(pg_id,          pg_type, pg_default_sub_id, pg_path,       pg_name,                        pg_description,                       pg_priority, pg_active, pg_mobile, pg_editable) VALUES
-('user1',        1,       '',                '',            'ユーザ定義1',                  'ユーザ任意定義用',                   20,          true,      false,     true),
-('user2',        1,       '',                '',            'ユーザ定義2',                  'ユーザ任意定義用',                   21,          true,      false,     true),
-('user3',        1,       '',                '',            'ユーザ定義3',                  'ユーザ任意定義用',                   22,          true,      false,     true);
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009110901_to_2009111701.sql b/include/sql/update/2009110901_to_2009111701.sql
deleted file mode 100644 (file)
index 4be7dc2..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009110901_to_2009111701.sql 2562 2009-11-18 03:58:30Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報(新規追加)
-DELETE FROM _widgets WHERE wd_id = 'slide_menu';
-INSERT INTO _widgets
-(wd_id,        wd_name,           wd_type, wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('slide_menu', 'スライドメニュー', 'menu', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'スライドオープンできる2階層のメニューです。共通のメニュー定義を使用します。', 'jquery', 'jquery', true,  true,              true, 3,          1, now(),         now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009111701_to_2009120301.sql b/include/sql/update/2009111701_to_2009120301.sql
deleted file mode 100644 (file)
index de21b5c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009111701_to_2009120301.sql 2624 2009-12-05 12:41:03Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報
-UPDATE _widgets SET wd_has_rss = true WHERE wd_id = 'update_content_box' AND wd_deleted = false;
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2009120301_to_2009120801.sql b/include/sql/update/2009120301_to_2009120801.sql
deleted file mode 100644 (file)
index d0cd152..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009120301_to_2009120801.sql 2701 2009-12-16 03:15:35Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システム標準テーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                        sc_value,         sc_name) VALUES
-('use_connect_server',         '1',              'ポータルサーバ接続');
--- ('server_url',                 '',               'サーバURL');
-
--- ページIDマスター
-INSERT INTO _page_id 
-(pg_id,          pg_type, pg_default_sub_id, pg_path,       pg_name,                        pg_description,                       pg_priority, pg_active, pg_mobile, pg_editable) VALUES
-('connector',    0,       'content',         'connector',   'サーバ接続用アクセスポイント', 'サーバ接続用アクセスポイント',       3,           true,      false,     true);
--- registは削除
-
--- ページ情報マスター
-INSERT INTO _page_info
-(pn_id,       pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('connector', 'content',   'content',       false);
-
--- ページ定義マスター
-INSERT INTO _page_def
-(pd_id,         pd_sub_id,      pd_position_id, pd_index, pd_widget_id,   pd_config_id, pd_visible, pd_editable) VALUES
-('connector',   'content',      'main',         1,        'c/updateinfo', 0,            true,       false);
-
--- ウィジェット情報(新規追加)
-DELETE FROM _widgets WHERE wd_id = 'c/updateinfo';
-INSERT INTO _widgets
-(wd_id,          wd_name,    wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,         wd_available, wd_editable, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('c/updateinfo', '新着登録', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '新着情報を登録する。', false,        false,       false,        true,           now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'portal_updateinfo';
-INSERT INTO _widgets
-(wd_id,              wd_name,                          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('portal_updateinfo', 'コンテンツ更新情報(ポータル用)', '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'テナントサーバのコンテンツ更新情報を表示', true,         false,               false,                true, 0,          0, now(),         now());
-
--- ニュースコンテンツトラン
-DROP TABLE IF EXISTS news;
-CREATE TABLE news (
-    nw_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    nw_type              VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- コンテンツタイプ
-    nw_server_id         CHAR(32)       DEFAULT ''                    NOT NULL,      -- サーバ識別ID
-    nw_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 登録日時
-
-    nw_name              TEXT                                         NOT NULL,      -- コンテンツ名
-    nw_link              TEXT                                         NOT NULL,      -- コンテンツリンク先
-    nw_content_dt        TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- コンテンツ更新日時
-    nw_message           TEXT                                         NOT NULL,      -- メッセージ
-    nw_site_name         TEXT                                         NOT NULL,      -- サイト名
-    nw_site_link         TEXT                                         NOT NULL,      -- サイトリンク
-
-    nw_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    nw_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    nw_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (nw_serial)
-) TYPE=innodb;
-
--- テナントサーバ情報マスター
-DROP TABLE IF EXISTS _tenant_server;
-CREATE TABLE _tenant_server (
-    ts_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ts_id                INT            DEFAULT 0                     NOT NULL,      -- サーバID
-    ts_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    ts_server_id         CHAR(32)       DEFAULT ''                    NOT NULL,      -- サーバ識別ID
-    ts_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- サーバ名
-    ts_url               TEXT                                         NOT NULL,      -- サーバURL
-    ts_ip                VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- サーバIP(IPv6対応)
-    ts_auth_account      VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 認証用アカウント
-    ts_auth_password     CHAR(32)       DEFAULT ''                    NOT NULL,      -- 認証用パスワード(MD5)
-    ts_db_connect_dsn    TEXT                                         NOT NULL,      -- DB接続情報
-    ts_db_account        VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- DB接続用アカウント
-    ts_db_password       CHAR(32)       DEFAULT ''                    NOT NULL,      -- DB接続用パスワード
-    ts_status            SMALLINT       DEFAULT 0                     NOT NULL,      -- サーバ状態(-1=未承認、0=承認済み)
-    ts_enable_access     BOOLEAN        DEFAULT true                  NOT NULL,      -- アクセス許可
-    ts_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- アクセス可能期間(開始)
-    ts_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- アクセス可能期間(終了)
-
-    ts_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ts_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ts_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ts_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ts_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ts_serial),
-    UNIQUE               (ts_id,        ts_history_index)
-) TYPE=innodb;
diff --git a/include/sql/update/2009120801_to_2009121701.sql b/include/sql/update/2009120801_to_2009121701.sql
deleted file mode 100644 (file)
index 4473c75..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2009 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009120801_to_2009121701.sql 2703 2009-12-17 09:36:35Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システム標準テーブル ***
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'portal_updateinfo';
-INSERT INTO _widgets
-(wd_id,              wd_name,                          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_has_rss, wd_install_dt, wd_create_dt) VALUES
-('portal_updateinfo', 'コンテンツ更新情報(ポータル用)', '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'テナントサーバのコンテンツ更新情報を表示', true,         false,               false,                true, 0,          0, true, now(),         now());
diff --git a/include/sql/update/2009121701_to_2010010501.sql b/include/sql/update/2009121701_to_2010010501.sql
deleted file mode 100644 (file)
index 23cb3a7..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2009121701_to_2010010501.sql 2809 2010-01-24 10:06:04Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
--- *** システムベーステーブル ***
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'bbs_2ch_main';
-INSERT INTO _widgets
-(wd_id,          wd_name,                  wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                wd_read_scripts, wd_read_css, wd_add_script_lib, wd_add_script_lib_a, wd_available, wd_editable, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_launch_index, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('bbs_2ch_main', '2ちゃんねる風BBSメイン', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '2ちゃんねる風掲示板のメイン', false,           false,       'jquery.cookie',                       '', true,         true,        true,         false,               false,true,           0, 2, 2, now(), now());
-
--- *** システム標準テーブル ***
--- BBS(2ch)設定マスター
-DROP TABLE IF EXISTS bbs_2ch_config;
-CREATE TABLE bbs_2ch_config (
-    tg_board_id          VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 掲示板ID(空文字列=デフォルト)
-    tg_id                VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ID(key)
-    tg_value             TEXT                                         NOT NULL,      -- 値
-    tg_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 名称
-    tg_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明
-    tg_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    PRIMARY KEY          (tg_board_id,  tg_id)
-) TYPE=innodb;
-
--- BBS(2ch)スレッドマスター
-DROP TABLE IF EXISTS bbs_2ch_thread;
-CREATE TABLE bbs_2ch_thread (
-    th_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    th_board_id          VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 掲示板ID(空文字列=デフォルト)
-    th_id                CHAR(32)       DEFAULT ''                    NOT NULL,      -- スレッドID
-    
-    th_subject           TEXT                                         NOT NULL,      -- 件名
-    th_message_count     INT            DEFAULT 0                     NOT NULL,      -- 投稿数
-    th_access_count      INT            DEFAULT 0                     NOT NULL,      -- 参照数
-    th_dt                TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 日時
-    th_log_serial        INT            DEFAULT 0                     NOT NULL,      -- BBSアクセスログシリアル番号
-    
-    th_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    th_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    th_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    th_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    th_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (th_serial),
-    UNIQUE               (th_board_id,  th_id)
-) TYPE=innodb;
-
--- BBS(2ch)スレッドメッセージトラン
-DROP TABLE IF EXISTS bbs_2ch_thread_message;
-CREATE TABLE bbs_2ch_thread_message (
-    te_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    te_board_id          VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 掲示板ID(空文字列=デフォルト)
-    te_thread_id         CHAR(32)       DEFAULT ''                    NOT NULL,      -- スレッドID
-    te_index             INT            DEFAULT 0                     NOT NULL,      -- 投稿番号(1以上)
-    
-    te_user_name         VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 投稿者名
-    te_email             VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- Eメールアドレス
-    te_message           TEXT                                         NOT NULL,      -- 投稿文
-    te_status_param      TEXT                                         NOT NULL,      -- 投稿文状態
-    te_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 投稿日時
-    te_log_serial        INT            DEFAULT 0                     NOT NULL,      -- BBSアクセスログシリアル番号
-
-    te_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    te_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    te_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (te_serial),
-    UNIQUE               (te_board_id,  te_thread_id,  te_index)
-) TYPE=innodb;
-
-INSERT INTO bbs_2ch_config 
-(tg_id,                   tg_value,                     tg_name) VALUES
-('title',                 '掲示板',                     '掲示板タイトル'),
-('top_image',             'tubo.gif',                   'トップ表示画像'),
-('title_color',           '#000000',                    'タイトル背景色'),
-('top_link',              '',                           'トップ画像のリンク先'),
-('bg_color',              '#EFEFEF',                    '背景色'),
-('bg_image',            'ba.gif',                     '背景画像'),
-('noname_name',           '名無しさん@お腹いっぱい。', '名前未設定時の表示名'),
-('makethread_color',      '#CCFFCC',                    ''),
-('menu_color',            '#CCFFCC',                    ''),
-('thread_color',          '#EFEFEF',                    ''),
-('text_color',            '#000000',                    ''),
-('name_color',            'green',                      '投稿者名文字色'),
-('link_color',            '#0000FF',                    ''),
-('alink_color',           '#FF0000',                    ''),
-('vlink_color',           '#660099',                    ''),
-('err_message_color',     '#FF0000',                    'エラーメッセージ文字色'),
-('subject_color',         '#FF0000',                    '件名文字色'),
-('thread_count',         '10',                         'トップ画面に表示するスレッド最大数'),
-('menu_thread_count',       '40',                         'メニューに表示するスレッド最大数'),
-('res_count',             '10',                         'トップ画面に表示するレス最大数'),
-('link_number',           '15',                         ''),
-('unicode',               'pass',                       ''),
-('delete_name',           'あぼーん',                   ''),
-('subject_length',         '200',                   '件名最大長'),
-('name_length',            '60',                   '投稿者名最大長'),
-('email_length',           '60',                   'emailアドレス最大長'),
-('message_length',         '2000',                   '投稿文最大長'),
-('line_length',            '300',                   '投稿文行長'),
-('line_count',             '50',                   '投稿文行数'),
-('res_anchor_link_count',  '10',                   'レスアンカーリンク数'),
-('thread_tatesugi',       '',                   ''),
-('nanashi_check',         '',                   ''),
-('timecount',             '',                   ''),
-('timeclose',             '',                   ''),
-('proxy_check',           '',                   ''),
-('oversea_thread',        '',                   ''),
-('oversea_proxy',         '',                   ''),
-('disp_id',               '',                   ''),
-('force_id',              '',                   ''),
-('no_id',                 '',                   ''),
-('keeplogcount',          '4096',                   'ログファイル保持数'),
-('thread_res',            '500',                   '1スレッドに投稿できるレス数の上限'),
-('thread_max_msg',        'あれ、<NUM>超えちゃったみたい…書き込めないや…<br />    ∧∧            ∧,,∧<br />   (;゚Д゚)          ミ゚Д゚,,彡  おkk<br />   ノ つ▼〔| ̄ ̄]      ▽⊂ ミ    新スレいこうぜ<br /> ~(,,⊃〔 ̄||====]~~[]⊂,⊂,,,;;ミ@',                   'レスオーバー時のメッセージ'),
-('thread_bytes',          '524288',                   '1スレッドの上限(バイト)'),
-('file_upload',                '0',                   'ファイルアップ許可'),
-('max_bytes',             '300000',                   'アップロード上限(バイト)'),
-('max_w',                 '120',                   'サムネイル画像の幅'),
-('max_h',                 '160',                   'サムネイル画像の高さ'),
-('teletype',              '1',                   '等幅フォント機能'),
-('name_774',              '1',                   'スレッド内名無し名変更機能'),
-('force_774',             '1',                   '名無しへ強制変更機能'),
-('force_no_id',           '1',                   'IDなし機能'),
-('force_sage',            '1',                   'sage強制機能'),
-('force_stars',           '1',                   'レス要キャップ機能'),
-('force_normal',          '1',                   'スレッド内VIP機能解除'),
-('force_name',            '1',                   '名前入力強制機能'),
-('force_up',              '0',                   'アップロード機能'),
-('gz_flag',               '0',                   'gzip圧縮をする'),
-('jikan_kisei',           '0',                   '時間規制'),
-('jikan_start',           '22',                   '規制開始時間(0-23)'),
-('jikan_end',             '2',                   '規制終了時間(0-23)'),
-('bbs_guide',             '掲示板の規則等を書いてください。',                    '掲示板規則'),
-('bbs_style',             '1',                   '掲示板のスタイル(0=テンプレート、1=2ch)'),
-('show_email',            '0',                   'Eメールアドレスを表示'),
-('autolink',              '1',                   '自動的にリンクを作成'),
-('msg_thread_end',        'このスレッドは${maxnum}を超えました。 <br /> もう書けないので、新しいスレッドを立ててくださいです。。。 ', 'スレッドの終了メッセージ');
-
diff --git a/include/sql/update/2010010501_to_2010020601.sql b/include/sql/update/2010010501_to_2010020601.sql
deleted file mode 100644 (file)
index fb396d0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010010501_to_2010020601.sql 2841 2010-02-09 07:58:40Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システム標準テーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,             sc_value,         sc_name) VALUES
-('accept_language', '',               'アクセス可能言語');
-
diff --git a/include/sql/update/2010020601_to_2010021501.sql b/include/sql/update/2010020601_to_2010021501.sql
deleted file mode 100644 (file)
index 95598fa..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010020601_to_2010021501.sql 2857 2010-02-15 03:20:59Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システム標準テーブル ***
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_use_render BOOLEAN        DEFAULT true                  NOT NULL;      -- Joomla!の描画処理を使用するかどうか
-
diff --git a/include/sql/update/2010021501_to_2010021601.sql b/include/sql/update/2010021501_to_2010021601.sql
deleted file mode 100644 (file)
index 159ffd8..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010021501_to_2010021601.sql 2886 2010-03-02 07:51:53Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システム標準テーブル ***
--- ページ情報マスター
-ALTER TABLE _page_info DROP INDEX pn_id;                                                                        -- ユニーク制約削除
-ALTER TABLE _page_info ADD pn_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL;          -- 言語ID(空=デフォルト)
-ALTER TABLE _page_info ADD UNIQUE (pn_id,       pn_sub_id,     pn_language_id,               pn_history_index); -- ユニーク制約再設定
-ALTER TABLE _page_info ADD pn_name              VARCHAR(40)    DEFAULT ''                    NOT NULL;          -- ページ名
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'pdf_list';
-INSERT INTO _widgets
-(wd_id,      wd_name,   wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                  wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('pdf_list', 'PDF名簿', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'PDF出力も可能な簡易名簿です。', '',                'jquery.tablednd',   true,  true,              true, 3,          1, now(),         now());
diff --git a/include/sql/update/2010021601_to_2010030301.sql b/include/sql/update/2010021601_to_2010030301.sql
deleted file mode 100644 (file)
index 6df99b8..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010021601_to_2010030301.sql 2904 2010-03-08 12:29:58Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システム標準テーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                       sc_value,         sc_name) VALUES
-('dev_use_latest_script_lib', '0',              '最新JavaScriptライブラリの使用(開発用)'),
-('google_maps_key',           '',               'Googleマップ利用キー');
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'pretty_photo';
-INSERT INTO _widgets
-(wd_id,   wd_name, wd_version, wd_params, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('pretty_photo', 'プリティフォト',  '1.1.0',    '',        'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'サムネール表示した画像を拡大します。', 'jquery', 'jquery.tablednd',               true,           true,       true,         true,        true,         true,                                true,                true,              0,  3,             1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'breadcrumb';
-INSERT INTO _widgets
-(wd_id,        wd_name,          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                         wd_has_admin, wd_initialized, wd_launch_index, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('breadcrumb', 'パンくずリスト', '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'メニュー定義からパンくずリストを作成', false,        true,           100, 0, 0, now(),    now());
diff --git a/include/sql/update/2010030301_to_2010031101.sql b/include/sql/update/2010030301_to_2010031101.sql
deleted file mode 100644 (file)
index f9474ae..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010030301_to_2010031101.sql 3035 2010-04-15 07:59:51Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システム標準テーブル ***
--- ユーザコンテンツ表示タブマスター
-DROP TABLE IF EXISTS user_content_tab;
-CREATE TABLE user_content_tab (
-    ub_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ub_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- タブID
-    ub_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    ub_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    ub_name              VARCHAR(60)    DEFAULT ''                    NOT NULL,      -- 名称
-    ub_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明
-    ub_template_html     TEXT                                         NOT NULL,      -- テンプレートHTML
-    ub_use_item_id       TEXT                                         NOT NULL,      -- 使用しているコンテンツ項目ID(カンマ区切り)
-    ub_index             INT            DEFAULT 0                     NOT NULL,      -- 表示順
-    ub_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示可否
-    ub_user_limited      BOOLEAN        DEFAULT false                 NOT NULL,      -- 参照ユーザを制限
-    
-    ub_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ub_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ub_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ub_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ub_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ub_serial),
-    UNIQUE               (ub_id,        ub_language_id,               ub_history_index)
-) TYPE=innodb;
-
--- ユーザ作成コンテンツ項目マスター
-DROP TABLE IF EXISTS user_content_item;
-CREATE TABLE user_content_item (
-    ui_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ui_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 項目ID
-    ui_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    ui_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 名前
-    ui_description       VARCHAR(100)   DEFAULT ''                    NOT NULL,      -- 説明
-    ui_type              INT            DEFAULT 0                     NOT NULL,      -- コンテンツタイプ(0=HTML,1=文字列,2=数値)
-    ui_index             INT            DEFAULT 0                     NOT NULL,      -- 表示順
-    ui_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示可否
-    
-    ui_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ui_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ui_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ui_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ui_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ui_serial),
-    UNIQUE               (ui_id,        ui_history_index)
-) TYPE=innodb;
-
--- ユーザ作成コンテンツマスター
-DROP TABLE IF EXISTS user_content;
-CREATE TABLE user_content (
-    uc_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    uc_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- コンテンツID
-    uc_room_id           VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- コンテンツ所属ID
-    uc_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    uc_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    uc_data              TEXT                                         NOT NULL,      -- コンテンツデータ
-    uc_data_search_num   DECIMAL(15,4)  DEFAULT 0                     NOT NULL,      -- コンテンツ検索用データ(数値)
-    uc_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示可否
-    uc_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 表示可能期間(開始)
-    uc_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 表示可能期間(終了)
-    uc_user_limited      BOOLEAN        DEFAULT false                 NOT NULL,      -- 参照ユーザを制限
-    
-    uc_check_out_user_id INT            DEFAULT 0                     NOT NULL,      -- チェックアウトユーザID(0のときはチェックイン状態)
-    uc_check_out_dt      TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- チェックアウト日時
-    uc_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    uc_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    uc_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    uc_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    uc_locked            BOOLEAN        DEFAULT false                 NOT NULL,      -- レコードロック状態
-    uc_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (uc_serial),
-    UNIQUE               (uc_id,        uc_room_id,  uc_language_id,  uc_history_index)
-) TYPE=innodb;
-
--- ユーザ作成コンテンツルームマスター
-DROP TABLE IF EXISTS user_content_room;
-CREATE TABLE user_content_room (
-    ur_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ur_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- ルームID
-    ur_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    ur_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 名前
-    ur_enable_edit       BOOLEAN        DEFAULT true                  NOT NULL,      -- ユーザの編集許可
-    ur_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 公開可否
-    ur_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 公開期間(開始)
-    ur_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 公開期間(終了)
-    ur_owner_id          INT            DEFAULT 0                     NOT NULL,      -- ルームの所有者ID
-    
-    ur_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ur_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ur_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ur_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ur_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ur_serial),
-    UNIQUE               (ur_id,        ur_history_index)
-) TYPE=innodb;
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'user_content';
-INSERT INTO _widgets
-(wd_id,          wd_name,                wd_type, wd_version, wd_author,                       wd_copyright,                    wd_license, wd_official_level, wd_description,         wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('user_content', 'ユーザ作成コンテンツ', 'user',  '0.9.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'ユーザが管理可能なコンテンツを表示', 'jquery-ui,jquery-ui-plus', '', true, true,           2, 2, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'breadcrumb';
-INSERT INTO _widgets
-(wd_id,        wd_name,          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                         wd_has_admin, wd_initialized, wd_launch_index, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('breadcrumb', 'パンくずリスト', '1.1.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'メニュー定義からパンくずリストを作成', true,        true,           100, 0, 0, now(),    now());
diff --git a/include/sql/update/2010031101_to_2010032401.sql b/include/sql/update/2010031101_to_2010032401.sql
deleted file mode 100644 (file)
index a6ef5b6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010031101_to_2010032401.sql 3000 2010-03-31 07:33:10Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- ユーザ作成コンテンツ項目マスター
-ALTER TABLE user_content_item ADD ui_search_target     BOOLEAN        DEFAULT true                  NOT NULL;      -- 検索対象かどうか
-ALTER TABLE user_content_item ADD ui_key               VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- 外部からの参照用キー
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'user_content';
-INSERT INTO _widgets
-(wd_id,          wd_name,                wd_type, wd_version, wd_author,                       wd_copyright,                    wd_license, wd_official_level, wd_description,         wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('user_content', 'ユーザ作成コンテンツ', 'user',  '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'ユーザが管理可能なコンテンツを表示', 'jquery-ui,jquery-ui-plus', '', true, true, true,           2, 2, now(), now());
diff --git a/include/sql/update/2010032401_to_2010040801.sql b/include/sql/update/2010032401_to_2010040801.sql
deleted file mode 100644 (file)
index 3292a40..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010032401_to_2010040801.sql 3022 2010-04-12 01:31:55Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- ユーザコンテンツ表示タブマスター
-ALTER TABLE user_content_tab ADD ub_group_id     INT            DEFAULT 0                     NOT NULL;      -- 所属グループID
-
--- ユーザ作成コンテンツルームマスター
-ALTER TABLE user_content_room ADD ur_group_id     INT            DEFAULT 0                     NOT NULL;      -- 所属グループID
-
--- ユーザ作成コンテンツカテゴリマスター
-DROP TABLE IF EXISTS user_content_category;
-CREATE TABLE user_content_category (
-    ua_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ua_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリID
-    ua_item_id           VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリ項目ID(空=カテゴリ種別、空以外=カテゴリ項目)
-    ua_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    ua_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    ua_name              VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- カテゴリ名称
-    ua_index             INT            DEFAULT 0                     NOT NULL,      -- カテゴリ項目の表示順(カテゴリ項目IDが空のときはカテゴリの表示順)
-
-    ua_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ua_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ua_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ua_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ua_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ua_serial),
-    UNIQUE               (ua_id,        ua_item_id,  ua_language_id,  ua_history_index)
-) TYPE=innodb;
-
--- ユーザ作成コンテンツカテゴリとルームの対応付けマスター
-DROP TABLE IF EXISTS user_content_room_category;
-CREATE TABLE user_content_room_category (
-    um_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    um_room_id           VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- ルームID
-    um_category_id       VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリID
-    um_category_item_id  VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリ項目ID
-    PRIMARY KEY          (um_serial),
-    UNIQUE               (um_room_id,   um_category_id, um_category_item_id)
-) TYPE=innodb;
-
--- ユーザ作成コンテンツ項目マスター
-INSERT INTO user_content_item
-(ui_id,          ui_name,      ui_description,                   ui_type,  ui_key,        ui_create_dt) VALUES
-('DEFAULT_LIST', '検索一覧用', '検索結果の一覧に表示するデータ', 0,        'SEARCH_LIST', now());
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'user_content';
-INSERT INTO _widgets
-(wd_id,          wd_name,                wd_type, wd_version, wd_author,                       wd_copyright,                    wd_license, wd_official_level, wd_description,         wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('user_content', 'ユーザ作成コンテンツ', 'user',  '1.1.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'ユーザが管理可能なコンテンツを表示', 'jquery-ui,jquery-ui-plus', 'jquery.tablednd', true, true, true,           2, 2, now(), now());
diff --git a/include/sql/update/2010040801_to_2010041201.sql b/include/sql/update/2010040801_to_2010041201.sql
deleted file mode 100644 (file)
index e6cdab9..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010040801_to_2010041201.sql 3046 2010-04-20 08:37:56Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- コンテンツ参照トラン
-ALTER TABLE _view_count DROP INDEX vc_type_id;                                                                    -- ユニーク制約削除
-ALTER TABLE _view_count ADD vc_content_id            VARCHAR(50)        DEFAULT ''                    NOT NULL;      -- コンテンツ識別用のID
-ALTER TABLE _view_count ADD UNIQUE (vc_type_id,      vc_content_serial, vc_content_id,           vc_date,       vc_hour);-- ユニーク制約再設定
-
--- 検索キーワードトラン
-DROP TABLE IF EXISTS _search_word;
-CREATE TABLE _search_word (
-    sw_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    sw_word              TEXT                                         NOT NULL,      -- 検索キーワード
-    sw_basic_word        TEXT                                         NOT NULL,      -- 比較用基本ワード
-    sw_widget_id         VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- ウィジェットID(ファイル名)
-    sw_type              INT            DEFAULT 0                     NOT NULL,      -- 端末タイプ(0=PC、1=携帯、2=スマートフォン)
-    sw_client_id         VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- PCの場合はアクセス管理用クッキー値。携帯の場合は端末ID「XX-xxxxxx」(XX=キャリアDC,AU,SB、xxxxxx=端末ID)。
-    sw_access_log_serial INT            DEFAULT 0                     NOT NULL,      -- アクセスログシリアル番号
-    sw_dt                TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 記録日時
-    PRIMARY KEY          (sw_serial)
-) TYPE=innodb;
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'custom_search';
-INSERT INTO _widgets
-(wd_id,           wd_name,        wd_type, wd_version, wd_author,                       wd_copyright,                    wd_license, wd_official_level, wd_description,         wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('custom_search', 'カスタム検索', '',      '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                '各種コンテンツが検索可能で表示レイアウトもカスタマイズ可能な検索ウィジェット', 'jquery', 'jquery.tablednd', true, false, true, true,          1, -1, now(), now());
-
--- *** システム標準テーブル ***
--- ユーザ作成コンテンツルームマスター
-ALTER TABLE user_content_room ADD ur_content_update_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- コンテンツ更新日時
diff --git a/include/sql/update/2010041201_to_2010042101.sql b/include/sql/update/2010041201_to_2010042101.sql
deleted file mode 100644 (file)
index 806a464..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010041201_to_2010042101.sql 3088 2010-05-03 02:18:49Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'contactus_freelayout2';
-INSERT INTO _widgets
-(wd_id,              wd_name,                          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                             wd_read_scripts, wd_read_css,wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('contactus_freelayout2', 'フリーレイアウトお問い合わせ2', '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'フリーレイアウトでカスタマイズ可能なお問い合わせメール送信機能。「フリーレイアウトお問い合わせ」のバージョンアップ版。', false,           false,     'jquery.formtips,jquery.format', 'jquery.tablednd', true,         false,               true,                true, 0,          0, now(),         now());
diff --git a/include/sql/update/2010042101_to_2010042901.sql b/include/sql/update/2010042101_to_2010042901.sql
deleted file mode 100644 (file)
index 3dfdedb..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010042101_to_2010042901.sql 3102 2010-05-07 06:05:36Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                         sc_value,         sc_name) VALUES
-('smartphone_default_template', 's/default',      'スマートフォン画面用デフォルトテンプレート'),
-('site_smartphone_in_public',   '1',              'スマートフォン用サイト公開');
-
--- 多言語対応文字列マスター
-INSERT INTO _language_string
-(ls_id,                     ls_language_id, ls_value,                             ls_name) VALUES
-('msg_site_in_maintenance', 'ja',           'ただいまサイトのメンテナンス中です', 'メンテナンス中メッセージ');
-
--- ページIDマスター
-ALTER TABLE _page_id ADD pg_device_type                INT            DEFAULT 0                     NOT NULL;      -- 端末タイプ(0=PC、1=携帯、2=スマートフォン)
-INSERT INTO _page_id 
-(pg_id,      pg_type, pg_default_sub_id, pg_path,       pg_name,                            pg_description,                       pg_priority, pg_active, pg_device_type, pg_mobile, pg_editable) VALUES
-('s_index',  0,       'content',         's/index',     'スマートフォン用アクセスポイント', 'スマートフォン用アクセスポイント',   1,           true,      2,              false,     true);
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_device_type                INT            DEFAULT 0                     NOT NULL;      -- 端末タイプ(0=PC、1=携帯、2=スマートフォン)
-
--- テンプレート情報マスター
-ALTER TABLE _templates ADD tm_device_type              INT            DEFAULT 0                     NOT NULL;      -- 端末タイプ(0=PC、1=携帯、2=スマートフォン)
-
--- 検索キーワードトラン
-ALTER TABLE _search_word ADD sw_device_type            INT            DEFAULT 0                     NOT NULL;      -- 端末タイプ(0=PC、1=携帯、2=スマートフォン)
-
--- ページ情報マスター
-INSERT INTO _page_info
-(pn_id,       pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('s_index',   'content',   'content',       false);
-
--- ウィジェット情報マスター
-DELETE FROM _widgets WHERE wd_id = 'admin_main';
-INSERT INTO _widgets
-(wd_id,         wd_name, wd_type, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_add_script_lib, 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
-('admin_main',  '管理用画面',      'ADBD',  '',     'Naoki Hirata', 'Magic3.org', 'GPL', 10,     'pagedef=jquery-ui-plus;pagedef_mobile=jquery-ui-plus;pagedef_smartphone=jquery-ui-plus;menudef=jquery.simpletree;', true, true,        false,        false,       false,        true,          false, true, 0,   now(),now());
diff --git a/include/sql/update/2010042901_to_2010050901.sql b/include/sql/update/2010042901_to_2010050901.sql
deleted file mode 100644 (file)
index 5ab99c5..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010042901_to_2010050901.sql 3120 2010-05-12 00:47:05Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- テンプレート情報
-INSERT INTO _templates
-(tm_id,                         tm_name,                       tm_type, tm_device_type, tm_mobile, tm_clean_type, tm_create_dt) VALUES
-('s/default',                   's/default',                   1,       2,              false,     0,             now());
-
--- バナー項目
-ALTER TABLE bn_item ADD bi_attr  TEXT                                         NOT NULL;      -- その他属性(「;」区切り)
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'banner3';
-INSERT INTO _widgets
-(wd_id,     wd_name,       wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('banner3', 'バナー表示3', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'バナー画像をグループ化して、グループごとに表示できるバナー管理ウィジェットです。「バナー表示2」のバージョンアップ版。', '',                '',                  true, true,         true,                true,  0,         1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 's/content';
-INSERT INTO _widgets
-(wd_id,       wd_name,                wd_type,   wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_device_type, wd_has_admin, wd_initialized, wd_launch_index, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('s/content', 'コンテンツ', 'content', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '画像やテキストからできた汎用コンテンツを表示。コンテンツ属性(content)ページ専用。', 2,         true,         true,           0, 2, 2, now(), now());
diff --git a/include/sql/update/2010050901_to_2010051201.sql b/include/sql/update/2010050901_to_2010051201.sql
deleted file mode 100644 (file)
index 16c18b7..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010050901_to_2010051201.sql 3130 2010-05-14 07:06:16Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- メニューIDマスター
-ALTER TABLE _menu_id ADD mn_device_type                INT            DEFAULT 0                     NOT NULL;      -- 端末タイプ(0=PC、1=携帯、2=スマートフォン)
-INSERT INTO _menu_id
-(mn_id,         mn_name,                          mn_description, mn_device_type, mn_sort_order) VALUES
-('s_main_menu', 'スマートフォン用メインメニュー', '',             2,              0);
-
--- *** システム標準テーブル ***
--- バナー項目
-ALTER TABLE bn_item MODIFY bi_html TEXT NOT NULL;      -- テンプレートHTML
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 's/slide_menu';
-INSERT INTO _widgets
-(wd_id,        wd_name,           wd_type, wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_device_type, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('s/slide_menu', 'スライドメニュー', 'menu', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'スライドオープンできる2階層のメニューです。共通のメニュー定義を使用します。', 2, 'jquery', 'jquery', true,  true,              true, 3,          1, now(),         now());
diff --git a/include/sql/update/2010051201_to_2010051701.sql b/include/sql/update/2010051201_to_2010051701.sql
deleted file mode 100644 (file)
index 02777ed..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010051201_to_2010051701.sql 3150 2010-05-19 08:01:03Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- *** システム標準テーブル ***
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'blog_new_box';
-INSERT INTO _widgets
-(wd_id,          wd_name,         wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,             wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_has_rss, wd_install_dt, wd_create_dt) VALUES
-('blog_new_box', 'ブログ - 新規', '1.1.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'ブログの新規一覧を表示。', false,        false,               false,true,               1, -1, true, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'g_analytics';
-INSERT INTO _widgets
-(wd_id,         wd_name,            wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_has_admin, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('g_analytics', 'Google Analytics', '2.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'Google Analytics トラッキングコードを出力する。', true,        true,           1, -1, now(), now());
diff --git a/include/sql/update/2010051701_to_2010052601.sql b/include/sql/update/2010051701_to_2010052601.sql
deleted file mode 100644 (file)
index 50f6965..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010051701_to_2010052601.sql 3178 2010-06-02 05:23:47Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'static_content';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('static_content',    '固定コンテンツビュー', '', '1.1.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '固定でコンテンツを表示。コンテンツはデフォルトコンテンツビューと共有。',          false,           false,       true,         true,        true,         false,               true,true,           0, 2, 1, now(), now());
-DELETE FROM _widgets WHERE wd_id = 'jquery_plugin';
-INSERT INTO _widgets
-(wd_id,        wd_name,                wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_has_admin, wd_use_instance_def, wd_initialized, wd_launch_index, wd_cache_type,    wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('jquery_plugin', 'jQueryプラグイン', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'jQueryプラグインを追加するためのウィジェットです。画面上には何も表示されません。',               true,         true,                true,              0,  3,             1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'access_count';
-INSERT INTO _widgets
-(wd_id,          wd_name,              wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,               wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('access_count', 'アクセスカウンター', '2.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'サイトのアクセス数を表示。', true,         false,true,           0, 0, now(), now());
diff --git a/include/sql/update/2010052601_to_2010060601.sql b/include/sql/update/2010052601_to_2010060601.sql
deleted file mode 100644 (file)
index 1919ce9..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010052601_to_2010060601.sql 3236 2010-06-12 11:08:04Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                     sc_value,         sc_name) VALUES
-('config_window_open_type', '0',              '設定画面のウィンドウ表示タイプ');
-
diff --git a/include/sql/update/2010060601_to_2010061801.sql b/include/sql/update/2010060601_to_2010061801.sql
deleted file mode 100644 (file)
index 18da61c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010060601_to_2010061801.sql 3259 2010-06-18 10:26:02Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'head_add';
-INSERT INTO _widgets
-(wd_id,      wd_name,    wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_has_admin, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('head_add', 'HEAD追加', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'HTMLのHEADタグ内に文字列を追加する', true,        true,           3, 1, now(), now());
-
diff --git a/include/sql/update/2010061801_to_2010070901.sql b/include/sql/update/2010061801_to_2010070901.sql
deleted file mode 100644 (file)
index fdac279..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010061801_to_2010070901.sql 3360 2010-07-09 02:17:59Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- ウィジェット情報
-DELETE FROM _widgets WHERE wd_id = 'chacha_main';
-INSERT INTO _widgets
-(wd_id,         wd_name,                wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_read_css,               wd_add_script_lib, wd_add_script_lib_a, wd_use_ajax, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_launch_index, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('chacha_main', 'マイクロブログメイン', '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'マイクロブログのメイン', true, 'jquery.jcarousel,jquery.cookie',                       '', true,        true,         true,               false,true,           0, 2, 2, now(), now());
--- ウィジェット情報(携帯用)
-DELETE FROM _widgets WHERE wd_id = 'm/chacha';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_version, wd_author,                       wd_copyright, wd_license, wd_official_level, wd_description, wd_mobile, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/chacha', 'マイクロブログ', '1.0.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10, 'マイクロブログ(携帯用)',               true,      true,         true,              now(),         now());
-
--- マイクロブログ設定マスター
-DROP TABLE IF EXISTS mblog_config;
-CREATE TABLE mblog_config (
-    mc_board_id          VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 掲示板ID(空文字列=デフォルト)
-    mc_id                VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ID(key)
-    mc_value             TEXT                                         NOT NULL,      -- 値
-    mc_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 名称
-    mc_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明
-    mc_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    PRIMARY KEY          (mc_board_id,  mc_id)
-) TYPE=innodb;
-
--- マイクロブログスレッドマスター
-DROP TABLE IF EXISTS mblog_thread;
-CREATE TABLE mblog_thread (
-    mt_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    mt_board_id          VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 掲示板ID(空文字列=デフォルト)
-    mt_id                VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- スレッドID
-    mt_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    mt_no                INT            DEFAULT 0                     NOT NULL,      -- スレッド番号
-    mt_update_no         INT            DEFAULT 0                     NOT NULL,      -- スレッド更新番号
-    mt_subject           TEXT                                         NOT NULL,      -- 件名
-    mt_message_count     INT            DEFAULT 0                     NOT NULL,      -- 投稿数
-    mt_access_count      INT            DEFAULT 0                     NOT NULL,      -- 参照数
-    mt_dt                TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- スレッド更新日時
-    mt_log_serial        INT            DEFAULT 0                     NOT NULL,      -- アクセスログシリアル番号
-    
-    mt_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    mt_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    mt_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    mt_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    mt_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (mt_serial),
-    UNIQUE               (mt_board_id,  mt_id,  mt_history_index)
-) TYPE=innodb;
-
--- マイクロブログスレッドメッセージトラン
-DROP TABLE IF EXISTS mblog_thread_message;
-CREATE TABLE mblog_thread_message (
-    mm_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    mm_board_id          VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 掲示板ID(空文字列=デフォルト)
-    mm_thread_id         VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- スレッドID
-    mm_index             INT            DEFAULT 0                     NOT NULL,      -- 投稿番号(1以上)
-    mm_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    mm_message           TEXT                                         NOT NULL,      -- 投稿文
-    mm_status_param      TEXT                                         NOT NULL,      -- 投稿文状態
-    mm_regist_member_id  VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 投稿会員ID
-    mm_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 投稿日時
-    mm_log_serial        INT            DEFAULT 0                     NOT NULL,      -- アクセスログシリアル番号
-
-    mm_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    mm_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    mm_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    mm_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    mm_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (mm_serial),
-    UNIQUE               (mm_board_id,  mm_thread_id,  mm_index, mm_history_index)
-) TYPE=innodb;
-
--- マイクロブログ会員情報マスター
-DROP TABLE IF EXISTS mblog_member;
-CREATE TABLE mblog_member (
-    mb_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    mb_id                VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 会員ID
-    mb_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    mb_device_id         VARCHAR(32)    DEFAULT ''                    NOT NULL,      -- 端末ID(携帯のときは端末ID、PCのときクッキー値)
-    mb_user_id           INT            DEFAULT 0                     NOT NULL,      -- ログインユーザID
-    mb_password          CHAR(32)       DEFAULT ''                    NOT NULL,      -- パスワード(MD5)
-    mb_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 会員名
-    mb_email             VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- Eメールアドレス
-    mb_avatar            VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- アバターファイル名
-    mb_url               TEXT                                         NOT NULL,      -- ホームーページ
-    mb_show_email        BOOLEAN        DEFAULT false                 NOT NULL,      -- Eメールアドレスを公開するかどうか
-    mb_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 登録日時
-    mb_last_access_dt    TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 最終アクセス日時
-    
-    mb_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    mb_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    mb_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    mb_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    mb_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (mb_serial),
-    UNIQUE               (mb_id,        mb_history_index)
-) TYPE=innodb;
-
-INSERT INTO mblog_config 
-(mc_id,                   mc_value,                mc_name) VALUES
-('post_with_no_login',    '0',                     'ログインなしの投稿'),
-('use_subject',           '0',                     '件名の使用'),
-('message_id_length',     '5',                     'メッセージIDのバイト数'),
-('message_count_top',     '3',                     'トップページのメッセージ表示項目数'),
-('message_count_mypage',  '30',                    'マイページのメッセージ表示項目数'),
-('m:message_count_mypage','10',                    'マイページのメッセージ表示項目数(携帯)'),
-('text_color',            '#000000',               '文字色'),
-('bg_color',              '#EAF4F5',               '背景色'),
-('inner_bg_color',        '#FFFFCC',               '内枠のデフォルト背景色'),
-('profile_color',         '',                      'プロフィール背景色'),
-('err_message_color',     '#FF0000',               'エラーメッセージ文字色'),
-('bg_image',              '',                      '背景画像'),
-('message_length',         '200',                   '投稿文最大長'),
-('subject_length',         '30',                   '件名最大長'),
-('name_length',            '30',                   '投稿者名最大長'),
-('email_length',           '30',                   'emailアドレス最大長'),
-('top_contents',           '',                     'トップ画面のコンテンツ'),
-('m:top_contents',           '',                   'トップ画面のコンテンツ(携帯)');
diff --git a/include/sql/update/2010070901_to_2010071301.sql b/include/sql/update/2010070901_to_2010071301.sql
deleted file mode 100644 (file)
index 68e8393..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010070901_to_2010071301.sql 3410 2010-07-20 06:56:41Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- メニュー定義マスター
-ALTER TABLE _menu_def ADD md_content_type      VARCHAR(10)    DEFAULT ''             NOT NULL;      -- リンク先のコンテンツの種別
-ALTER TABLE _menu_def ADD md_content_id        VARCHAR(10)    DEFAULT ''             NOT NULL;      -- リンク先のコンテンツのID
-
--- ウィジェット情報
--- 廃止ウィジェット
-DELETE FROM _widgets WHERE wd_id = 'default_mainmenu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_joomla_class, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt, wd_status) VALUES
-('default_mainmenu',   'デフォルトメインメニュー(廃止予定)',   'menu', '1.0.0',  '_menu',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, '常に表示し共通で使用するメインメニュー。',         false,           false,       false,         true,        true,         false,               false,true,           0, 2, -1, now(), now(), -1);
-DELETE FROM _widgets WHERE wd_id = 'nav_menu';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt, wd_status) VALUES
-('nav_menu',   'ナビゲーションメニュー(廃止予定)',   'menu', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ページのヘッダ下や、フッタ部に表示するメニュー。',           false,           false,       false,         true,        true,         false,               false,true,           0, 1, -1, now(), now(), -1);
-DELETE FROM _widgets WHERE wd_id = 'nav_menu_css';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt, wd_status) VALUES
-('nav_menu_css',   'ナビゲーションメニュー(CSS)(廃止予定)',   'menu', '1.0.0',  '',        '', 'Magic3.org', 'GPL', 10, 'ページのヘッダ下や、フッタ部に表示するメニュー。SPANタグにて表示。',           false,           false,       false,         true,        true,         false,               false,true,           0, 1, -1, now(), now(), -1);
--- 管理機能ウィジェット
-DELETE FROM _widgets WHERE wd_id = 'admin_main';
-INSERT INTO _widgets
-(wd_id,        wd_name,      wd_author,      wd_copyright, wd_license, wd_official_level, wd_add_script_lib, wd_available, wd_editable, wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('admin_main', '管理用画面', 'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'pagedef=jquery-ui.tabs;pagedef_mobile=jquery-ui.tabs;pagedef_smartphone=jquery-ui.tabs;menudef=jquery.simpletree;', false,        false,       false,        true,          false, true, now(),now());
--- 管理機能以外のウィジェット
-DELETE FROM _widgets WHERE wd_id = 'accordion_menu';
-INSERT INTO _widgets
-(wd_id,            wd_name, wd_type,                  wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a,                         wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('accordion_menu', 'アコーディオンメニュー','menu','1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                '複数のメニューが作成できる2階層のアコーディオンメニューです。サブメニューも管理できる共通のメニュー定義を使用します。', 'jquery-ui.accordion', 'jquery-ui.accordion', true,  true,              true, 3,          1, now(),         now());
-DELETE FROM _widgets WHERE wd_id = 'blog_main';
-INSERT INTO _widgets (wd_id, wd_name, wd_type, wd_version, wd_params, wd_author, wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('blog_main',          'ブログ - メイン',            'BGMA', '1.0.0',  '',        'Naoki Hirata', 'Magic3.org', 'GPL', 10, 'ブログの記事の内容を表示する。', 'entry_detail=jquery-ui.tabs',          false,           false,       true,         true,        true,        false,               false,true,               0, 1, 2, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'user_content';
-INSERT INTO _widgets
-(wd_id,          wd_name,                wd_type, wd_version, wd_author,                       wd_copyright,                    wd_license, wd_official_level, wd_description,         wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_enable_operation, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('user_content', 'ユーザ作成コンテンツ', 'user',  '1.1.0',    '株式会社 毎日メディアサービス', '株式会社 毎日メディアサービス', 'GPL',      10,                'ユーザが管理可能なコンテンツを表示', 'jquery-ui.tabs', 'jquery.tablednd', true, true, true,           2, 2, now(), now());
diff --git a/include/sql/update/2010071301_to_2010072301.sql b/include/sql/update/2010071301_to_2010072301.sql
deleted file mode 100644 (file)
index b0bfc8f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010071301_to_2010072301.sql 3427 2010-07-26 03:47:18Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター(管理用)
-INSERT INTO _widgets
-(wd_id,         wd_name,           wd_author,      wd_copyright, wd_license, wd_official_level, wd_available, wd_editable, wd_initialized, wd_launch_index, wd_install_dt, wd_create_dt) VALUES
-('admin_menu3', '管理用メニュー3', 'Naoki Hirata', 'Magic3.org', 'GPL',      10,                false,        false,       true,           100,             now(),         now());
--- ウィジェット情報マスター(PC用)
-DELETE FROM _widgets WHERE wd_id = 'pretty_photo';
-INSERT INTO _widgets
-(wd_id,          wd_name,          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_add_script_lib, wd_add_script_lib_a, 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_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('pretty_photo', 'プリティフォト', '2.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'サムネール表示した画像を拡大します。', 'jquery.prettyphoto', 'jquery.tablednd,jquery.prettyphoto',               false,           false,       true,         true,        true,         true,                                true,                true,              0,  3,             1, now(),         now());
diff --git a/include/sql/update/2010072301_to_2010072701.sql b/include/sql/update/2010072301_to_2010072701.sql
deleted file mode 100644 (file)
index 0233c69..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010072301_to_2010072701.sql 3447 2010-08-02 00:26:25Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター(PC用)
-DELETE FROM _widgets WHERE wd_id = 'blog_new_box';
-INSERT INTO _widgets
-(wd_id,          wd_name,         wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,             wd_has_admin, wd_enable_operation, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_has_rss, wd_install_dt, wd_create_dt) VALUES
-('blog_new_box', 'ブログ - 新規', '2.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'ブログの新規一覧を表示。', true,        false,               false,true,               1, -1, true, now(),    now());
-
--- ウィジェット情報マスター(スマートフォン用)
-DELETE FROM _widgets WHERE wd_id = 's/custom_footer';
-INSERT INTO _widgets
-(wd_id,             wd_name,          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                             wd_device_type, wd_has_admin, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('s/custom_footer', 'カスタムフッタ', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'フッタ部に表示し、著作権等の表示を行う。', 2,              true,         true,             1, -1,  now(),         now());
diff --git a/include/sql/update/2010072701_to_2010080401.sql b/include/sql/update/2010072701_to_2010080401.sql
deleted file mode 100644 (file)
index 089ea27..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010072701_to_2010080401.sql 3466 2010-08-09 03:01:58Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター(管理用)
-DELETE FROM _widgets WHERE wd_id = 'admin_menu3';
-INSERT INTO _widgets
-(wd_id,         wd_name,           wd_type, wd_author,      wd_copyright, wd_license, wd_official_level, wd_available, wd_editable, wd_initialized, wd_launch_index, wd_install_dt, wd_create_dt) VALUES
-('admin_menu3', '管理用メニュー3', 'menu',  'Naoki Hirata', 'Magic3.org', 'GPL',      10,                false,        false,       true,           100,             now(),         now());
-
--- ウィジェット情報マスター(携帯用)
-DELETE FROM _widgets WHERE wd_id = 'm/blog';
-INSERT INTO _widgets
-(wd_id,      wd_name,          wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description, wd_device_type, wd_mobile, wd_has_admin, wd_initialized, wd_install_dt, wd_create_dt) VALUES
-('m/blog', 'ブログ', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10, 'ブログ(携帯用)', 1,              true,      true,         true,              now(),         now());
-
--- *** システム標準テーブル ***
--- ブログ設定マスター
-ALTER TABLE blog_config DROP PRIMARY KEY;                                                                 -- プライマリーキー削除
-ALTER TABLE blog_config ADD bg_blog_id          VARCHAR(30)    DEFAULT ''                    NOT NULL;    -- ブログID(空文字列=デフォルト)
-ALTER TABLE blog_config ADD PRIMARY KEY (bg_blog_id, bg_id);                                              -- プライマリーキー再設定
-
-INSERT INTO blog_config
-(bg_id,                bg_value,    bg_name,                     bg_index) VALUES
-('m:entry_view_count', '3',         '記事表示数(携帯)',          1),
-('m:entry_view_order', '1',         '記事表示順(携帯)',          2);
diff --git a/include/sql/update/2010080401_to_2010081801.sql b/include/sql/update/2010080401_to_2010081801.sql
deleted file mode 100644 (file)
index 8b7d26a..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010080401_to_2010081801.sql 3513 2010-08-19 05:56:07Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報(携帯用)
-DELETE FROM _widgets WHERE wd_id = 'm/blog_search';
-INSERT INTO _widgets
-(wd_id,           wd_name,      wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,         wd_mobile, wd_has_admin, wd_initialized, wd_launch_index, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('m/blog_search', 'ブログ検索', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'ブログ記事を検索する', true,      false,        true,           0, 1, -1, now(),    now());
-DELETE FROM _widgets WHERE wd_id = 'm/separator';
-INSERT INTO _widgets
-(wd_id,         wd_name,      wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,               wd_mobile, wd_has_admin, wd_initialized, wd_launch_index, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('m/separator', 'セパレータ', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'ウィジェット間の区切り線。', true,      false,        true,          0, 1, -1, now(), now());
diff --git a/include/sql/update/2010081801_to_2010082001.sql b/include/sql/update/2010081801_to_2010082001.sql
deleted file mode 100644 (file)
index f0d91ff..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010081801_to_2010082001.sql 3541 2010-08-28 03:20:00Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページIDマスター
-ALTER TABLE _page_id ADD pg_url                TEXT                                         NOT NULL;      -- アクセスURL(ページID種別がページメインIDとき使用)
-
--- 検索キーワードトラン
-ALTER TABLE _search_word ADD sw_path              VARCHAR(40)    DEFAULT ''                    NOT NULL;      -- アクセスポイントパス
diff --git a/include/sql/update/2010082001_to_2010090101.sql b/include/sql/update/2010082001_to_2010090101.sql
deleted file mode 100644 (file)
index 72c8732..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010082001_to_2010090101.sql 3580 2010-09-10 08:56:41Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                 sc_value,         sc_name) VALUES
-('admin_default_theme', 'start',          '管理画面用jQueryUIテーマ');
-
--- *** システム標準テーブル ***
--- ブログIDマスター
-DROP TABLE IF EXISTS blog_id;
-CREATE TABLE blog_id (
-    bl_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    bl_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- ブログID
-    bl_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    bl_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 名前
-    bl_template_id       VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- テンプレートID
-    bl_meta_title        TEXT                                         NOT NULL,      -- METAタグ、タイトル
-    bl_meta_description  TEXT                                         NOT NULL,      -- METAタグ、ページ要約
-    bl_meta_keywords     TEXT                                         NOT NULL,      -- METAタグ、検索用キーワード
-    bl_owner_id          INT            DEFAULT 0                     NOT NULL,      -- ブログの所有者ID
-    bl_group_id          INT            DEFAULT 0                     NOT NULL,      -- 所属グループID
-    bl_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 公開可否
-    bl_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 公開期間(開始)
-    bl_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 公開期間(終了)
-    bl_content_update_dt TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- コンテンツ更新日時
-    
-    bl_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    bl_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    bl_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    bl_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    bl_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (bl_serial),
-    UNIQUE               (bl_id,        bl_history_index)
-) TYPE=innodb;
-
--- ブログエントリー(記事)マスター
-ALTER TABLE blog_entry ADD be_blog_id              VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- ブログID
-ALTER TABLE blog_entry ADD be_show_comment         BOOLEAN        DEFAULT true                  NOT NULL;      -- コメントを表示するかどうか
-ALTER TABLE blog_entry ADD be_receive_comment      BOOLEAN        DEFAULT false                 NOT NULL;      -- コメントの受け付け可否
-
--- ブログ設定マスター
-INSERT INTO blog_config
-(bg_id,                    bg_value,    bg_name) VALUES
-('comment_count',          '100',       '1投稿記事のコメント最大数'),
-('comment_open_time',      '30',        'コメント投稿可能期間(日)');
diff --git a/include/sql/update/2010090101_to_2010091401.sql b/include/sql/update/2010090101_to_2010091401.sql
deleted file mode 100644 (file)
index 55d52bf..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010090101_to_2010091401.sql 3593 2010-09-15 09:19:20Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-DELETE FROM _widgets WHERE wd_id = 'custom_search_box';
-INSERT INTO _widgets
-(wd_id,               wd_name,            wd_version, wd_author,      wd_copyright, wd_license, wd_official_level, wd_description,                                     wd_add_script_lib, wd_add_script_lib_a, wd_has_admin, wd_use_instance_def, wd_initialized, wd_cache_type, wd_view_control_type, wd_install_dt, wd_create_dt) VALUES
-('custom_search_box', 'カスタム検索連携', '1.0.0',    'Naoki Hirata', 'Magic3.org', 'GPL',      10,                'カスタム検索に検索結果を表示する検索ウィジェット', 'jquery', '',     true,         true,true,               1, -1, now(),    now());
-
--- ページ情報マスター
-ALTER TABLE _page_info ADD pn_user_limited      BOOLEAN        DEFAULT false                 NOT NULL;      -- アクセス可能ユーザを制限
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2010091401_to_2010091801.sql b/include/sql/update/2010091401_to_2010091801.sql
deleted file mode 100644 (file)
index 9784df8..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010091401_to_2010091801.sql 3628 2010-09-24 15:46:05Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 追加クラスマスター
-DELETE FROM _addons WHERE ao_id = 'bloglib';
-INSERT INTO _addons
-(ao_id,     ao_class_name, ao_name,            ao_description) VALUES
-('bloglib', 'blogLib',     'ブログライブラリ', '');
-
--- *** システム標準テーブル ***
--- ブログ設定マスター
-INSERT INTO blog_config
-(bg_id,                    bg_value,    bg_name) VALUES
-('use_multi_blog',         '0',         'マルチブログを使用'),
-('multi_blog_top_content', '',          'マルチブログのトップ画面コンテンツ'),
-('category_count',         '2',         '記事に設定可能なカテゴリ数');
-
--- ブログIDマスター
-ALTER TABLE blog_id ADD bl_user_limited      BOOLEAN        DEFAULT false                 NOT NULL;      -- 参照ユーザを制限
-ALTER TABLE blog_id ADD bl_index             INT            DEFAULT 0                     NOT NULL;      -- ソート用
-
--- ブログエントリー(記事)マスター
-ALTER TABLE blog_entry ADD be_user_limited      BOOLEAN        DEFAULT false                 NOT NULL;      -- 参照ユーザを制限
-
diff --git a/include/sql/update/2010091801_to_2010092901.sql b/include/sql/update/2010091801_to_2010092901.sql
deleted file mode 100644 (file)
index b36a108..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010091801_to_2010092901.sql 3681 2010-10-08 23:08:22Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_release_dt        TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- リリース日時
-
--- システム設定
-UPDATE _system_config SET sc_value = '_system' WHERE sc_id = 'msg_template';
-INSERT INTO _system_config 
-(sc_id,                      sc_value,                  sc_name) VALUES
-('use_content_maintenance',  '0',                       'メンテナンス画面用コンテンツの取得');
-
--- ページ定義マスター
-UPDATE _page_def SET pd_title_visible = false WHERE pd_widget_id = 'admin_main';
-UPDATE _page_def SET pd_title_visible = false WHERE pd_widget_id = 'admin_menu2';
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = '_system';
-INSERT INTO _templates
-(tm_id,                      tm_name,                    tm_type, tm_device_type, tm_mobile, tm_available, tm_clean_type, tm_create_dt) VALUES
-('_system',                  '_system',                  1,       0,              false,     false,        0,             now());
-
--- *** システム標準テーブル ***
--- 汎用コンテンツマスター
-ALTER TABLE content ADD    cn_search_target           BOOLEAN        DEFAULT true                  NOT NULL;      -- 検索対象かどうか
diff --git a/include/sql/update/2010092901_to_2010100901.sql b/include/sql/update/2010092901_to_2010100901.sql
deleted file mode 100644 (file)
index 3e81d0d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010092901_to_2010100901.sql 3689 2010-10-11 06:54:32Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 多言語対応文字列マスター
-INSERT INTO _language_string
-(ls_id,             ls_language_id, ls_value,             ls_name) VALUES
-('msg_access_deny', 'ja',           'アクセスできません', 'アクセス不可メッセージ');
-
--- システム設定
-INSERT INTO _system_config 
-(sc_id,                      sc_value,                  sc_name) VALUES
-('use_content_access_deny',  '0',                       'アクセス不可画面用コンテンツの取得');
-
--- ユーザアクセスログトラン
-ALTER TABLE _access_log ADD al_session      CHAR(32)       DEFAULT ''                    NOT NULL;      -- セッションID
-ALTER TABLE _access_log ADD al_device_id    VARCHAR(32)    DEFAULT ''                    NOT NULL;      -- 端末ID(携帯のときの端末ID)
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2010100901_to_2010101101.sql b/include/sql/update/2010100901_to_2010101101.sql
deleted file mode 100644 (file)
index ada972d..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010100901_to_2010101101.sql 3715 2010-10-19 04:27:12Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- サイト解析状況マスター
-DROP TABLE IF EXISTS _analyze_status;
-CREATE TABLE _analyze_status (
-    as_id                VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- ID(Key)
-    as_value             TEXT                                         NOT NULL,      -- 値
-    as_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 更新日時
-    PRIMARY KEY  (as_id)
-) TYPE=innodb;
-
--- サイト解析ページビュートラン
-DROP TABLE IF EXISTS _analyze_page_view;
-CREATE TABLE _analyze_page_view (
-    ap_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ap_type              INT            DEFAULT 0                     NOT NULL,      -- データタイプ(0=全データ、1=ブラウザアクセスに限定)
-    ap_url               VARCHAR(200)   DEFAULT ''                    NOT NULL,      -- URL
-    ap_date              DATE           DEFAULT '0000-00-00'          NOT NULL,      -- 日付
-    ap_hour              SMALLINT       DEFAULT 0                     NOT NULL,      -- 時間
-    ap_count             INT            DEFAULT 0                     NOT NULL,      -- 参照数
-    ap_path              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- アクセスポイントパス
-    PRIMARY KEY          (ap_serial),
-    UNIQUE               (ap_type,      ap_url,       ap_date,       ap_hour)
-) TYPE=innodb;
-
--- サイト解析日時カウントトラン
-DROP TABLE IF EXISTS _analyze_daily_count;
-CREATE TABLE _analyze_daily_count (
-    aa_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    aa_type              INT            DEFAULT 0                     NOT NULL,      -- データタイプ(0=訪問数、1=訪問者数)
-    aa_url               VARCHAR(200)   DEFAULT ''                    NOT NULL,      -- URL
-    aa_date              DATE           DEFAULT '0000-00-00'          NOT NULL,      -- 日付
-    aa_count             INT            DEFAULT 0                     NOT NULL,      -- 参照数
-    aa_path              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- アクセスポイントパス
-    PRIMARY KEY          (aa_serial),
-    UNIQUE               (aa_type,      aa_url,        aa_date)
-) TYPE=innodb;
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2010101101_to_2010102901.sql b/include/sql/update/2010101101_to_2010102901.sql
deleted file mode 100644 (file)
index 16780ca..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010101101_to_2010102901.sql 3758 2010-10-29 12:56:40Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- サイト解析ページビュートラン
-ALTER TABLE _analyze_page_view DROP INDEX ap_type;                                                       -- ユニーク制約削除
-ALTER TABLE _analyze_page_view ADD UNIQUE (ap_type,      ap_url,   ap_path, ap_date,       ap_hour);     -- ユニーク制約再設定
-
--- サイト解析日時カウントトラン
-ALTER TABLE _analyze_daily_count DROP INDEX aa_type;                                                  -- ユニーク制約削除
-ALTER TABLE _analyze_daily_count ADD UNIQUE (aa_type,  aa_url,        aa_path,   aa_date);            -- ユニーク制約再設定
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2010102901_to_2010111701.sql b/include/sql/update/2010102901_to_2010111701.sql
deleted file mode 100644 (file)
index 7d1a593..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010102901_to_2010111701.sql 3855 2010-11-22 03:10:38Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- アクセス可能期間(開始)
-ALTER TABLE _page_def ADD pd_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- アクセス可能期間(終了)
-ALTER TABLE _page_def ADD pd_edit_status       SMALLINT       DEFAULT 0                     NOT NULL;      -- 編集状態(0=編集完了、1=編集中)
-
--- *** システム標準テーブル ***
--- ブログ設定マスター
-INSERT INTO blog_config
-(bg_id,                     bg_value,    bg_name) VALUES
-('m:title_color',           '',         'タイトルの背景色');
diff --git a/include/sql/update/2010111701_to_2010122801.sql b/include/sql/update/2010111701_to_2010122801.sql
deleted file mode 100644 (file)
index ca88de4..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2010 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010111701_to_2010122801.sql 3912 2010-12-29 07:05:45Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- *** システム標準テーブル ***
--- ブログエントリー(記事)マスター
-ALTER TABLE blog_entry ADD be_dt                TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- ブログ記事更新日時
diff --git a/include/sql/update/2010122801_to_2011011101.sql b/include/sql/update/2010122801_to_2011011101.sql
deleted file mode 100644 (file)
index 5b94ed1..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2010122801_to_2011011101.sql 3943 2011-01-19 10:30:15Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_except_sub_id  TEXT                                         NOT NULL;      -- 共通時例外ページサブID(「,」区切りで複数指定可)
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_admin           BOOLEAN        DEFAULT false                 NOT NULL;      -- 管理用ウィジェットかどうか
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2011011101_to_2011012001.sql b/include/sql/update/2011011101_to_2011012001.sql
deleted file mode 100644 (file)
index 34abcad..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011011101_to_2011012001.sql 3957 2011-01-24 05:06:14Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページIDマスター
-ALTER TABLE _page_id ADD pg_visible           BOOLEAN        DEFAULT true                  NOT NULL;      -- ページを表示するかどうか
-
--- *** システム標準テーブル ***
--- ブログコメントトラン
-ALTER TABLE blog_comment MODIFY bo_html     TEXT NOT NULL;       -- 本文HTML
-
--- ブログ設定マスター
-INSERT INTO blog_config
-(bg_id,                     bg_value,    bg_name) VALUES
-('comment_max_length',      '300',       'コメント最大文字数');
diff --git a/include/sql/update/2011012001_to_2011012801.sql b/include/sql/update/2011012001_to_2011012801.sql
deleted file mode 100644 (file)
index 72ee715..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011012001_to_2011012801.sql 3984 2011-02-07 03:01:55Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- テンプレート情報マスター
-ALTER TABLE _templates ADD tm_joomla_params               TEXT                                         NOT NULL;      -- joomla!用パラメータ
-
--- *** システム標準テーブル ***
--- イベント設定マスター
-DROP TABLE IF EXISTS event_config;
-CREATE TABLE event_config (
-    eg_id                VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ID(Key)
-    eg_value             TEXT                                         NOT NULL,      -- 値
-    eg_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 名称
-    eg_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明
-    eg_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    PRIMARY KEY          (eg_id)
-) TYPE=innodb;
-
--- イベント記事マスター
-DROP TABLE IF EXISTS event_entry;
-CREATE TABLE event_entry (
-    ee_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ee_id                INT            DEFAULT 0                     NOT NULL,      -- エントリーID
-    ee_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    ee_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    ee_name              VARCHAR(60)    DEFAULT ''                    NOT NULL,      -- エントリータイトル
-    ee_html              TEXT                                         NOT NULL,      -- エントリー本文HTML
-    ee_html_ext          TEXT                                         NOT NULL,      -- エントリー本文HTML(結果)
-    ee_summary           VARCHAR(300)   DEFAULT ''                    NOT NULL,      -- 概要
-    ee_admin_note        VARCHAR(100)   DEFAULT ''                    NOT NULL,      -- 管理者用備考
-    ee_place             VARCHAR(100)   DEFAULT ''                    NOT NULL,      -- 場所
-    ee_contact           VARCHAR(60)    DEFAULT ''                    NOT NULL,      -- 連絡先(Eメール,電話番号)
-    ee_url               TEXT                                         NOT NULL,      -- URL
-    ee_status            SMALLINT       DEFAULT 0                     NOT NULL,      -- エントリー状態(0=未設定、1=編集中、2=公開、3=非公開)
-    ee_show_comment      BOOLEAN        DEFAULT true                  NOT NULL,      -- コメントを表示するかどうか
-    ee_receive_comment   BOOLEAN        DEFAULT false                 NOT NULL,      -- コメントの受け付け可否
-    ee_user_limited      BOOLEAN        DEFAULT false                 NOT NULL,      -- 参照ユーザを制限
-    ee_start_dt          TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- イベント期間(開始)
-    ee_end_dt            TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- イベント期間(終了)
-
-    ee_check_out_user_id INT            DEFAULT 0                     NOT NULL,      -- チェックアウトユーザID(0のときはチェックイン状態)
-    ee_check_out_dt      TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- チェックアウト日時
-    ee_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ee_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ee_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ee_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ee_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ee_serial),
-    UNIQUE               (ee_id,        ee_language_id,               ee_history_index)
-) TYPE=innodb;
-
--- イベントコメントトラン
-DROP TABLE IF EXISTS event_comment;
-CREATE TABLE event_comment (
-    eo_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    eo_entry_id          INT            DEFAULT 0                     NOT NULL,      -- エントリーID
-    eo_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    eo_parent_serial     INT            DEFAULT 0                     NOT NULL,      -- 親コメントのシリアル番号
-    eo_user_id           INT            DEFAULT 0                     NOT NULL,      -- ユーザID
-    eo_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 投稿日時
-    
-    eo_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- タイトル
-    eo_html              TEXT                                         NOT NULL,      -- 本文HTML
-    eo_url               TEXT                                         NOT NULL,      -- 参照用URL
-    eo_user_name         VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- ユーザ名
-    eo_email             VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- Eメールアドレス
-    eo_status            SMALLINT       DEFAULT 0                     NOT NULL,      -- 状態(0=未設定、1=非公開、2=公開)
-    
-    eo_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    eo_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    eo_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (eo_serial)
-) TYPE=innodb;
-
--- イベントカテゴリマスター
-DROP TABLE IF EXISTS event_category;
-CREATE TABLE event_category (
-    ec_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ec_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリID
-    ec_item_id           VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリ項目ID(空=カテゴリ種別、空以外=カテゴリ項目)
-    ec_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    ec_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    ec_name              VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- カテゴリ名称
-    ec_index             INT            DEFAULT 0                     NOT NULL,      -- カテゴリ項目の表示順(カテゴリ項目IDが空のときはカテゴリの表示順)
-
-    ec_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ec_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ec_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ec_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ec_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ec_serial),
-    UNIQUE               (ec_id,        ec_item_id,  ec_language_id,  ec_history_index)
-) TYPE=innodb;
-
--- イベント記事とイベント記事カテゴリーの対応付けマスター
-DROP TABLE IF EXISTS event_entry_with_category;
-CREATE TABLE event_entry_with_category (
-    ew_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ew_entry_id          INT            DEFAULT 0                     NOT NULL,      -- エントリーID
-    ew_category_id       VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリID
-    ew_category_item_id  VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリ項目ID
-    PRIMARY KEY          (ew_serial),
-    UNIQUE               (ew_entry_id,  ew_category_id, ew_category_item_id)
-) TYPE=innodb;
-
--- イベント設定マスター
-INSERT INTO event_config
-(eg_id,                     eg_value,    eg_name,                              eg_index) VALUES
-('receive_comment',         '0',         'コメントの受け付け',                 1),
-('entry_view_count',        '10',        '記事表示数',                         2),
-('entry_view_order',        '0',         '記事表示順',                         3),
-('comment_count',           '100',       '1投稿記事のコメント最大数',          4),
-('comment_open_time',       '30',        'コメント投稿可能期間(日)',           5),
-('top_contents',            '',          'トップ画面コンテンツ',               6),
-('m:entry_view_count',      '3',         '記事表示数(携帯)',                   7),
-('m:entry_view_order',      '1',         '記事表示順(携帯)',                   8),
-('m:top_contents',          '',          'トップ画面コンテンツ(携帯)',         9);
diff --git a/include/sql/update/2011012801_to_2011021901.sql b/include/sql/update/2011012801_to_2011021901.sql
deleted file mode 100644 (file)
index 9a8f264..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011012801_to_2011021901.sql 4005 2011-02-19 07:50:46Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_view_control_type INT            DEFAULT 0                     NOT NULL;      -- 表示出力の制御タイプ(0=常時表示、1=ログイン時のみ表示、2=非ログイン時のみ表示)
-ALTER TABLE _page_def ADD pd_view_option             TEXT                                         NOT NULL;      -- 表示オプション
diff --git a/include/sql/update/2011021901_to_2011041601.sql b/include/sql/update/2011021901_to_2011041601.sql
deleted file mode 100644 (file)
index 75eb50d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011021901_to_2011041601.sql 4091 2011-05-01 11:58:45Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 追加クラスマスター
-ALTER TABLE _addons MODIFY ao_id     VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- クラスID
-
--- 運用ログトラン
-ALTER TABLE _operation_log ADD ol_link_url TEXT                                   NOT NULL;      -- リンク用URL
-
--- ログインユーザマスター
-ALTER TABLE _login_user ADD lu_avatar            VARCHAR(40)    DEFAULT ''        NOT NULL;      -- アバターファイル名
diff --git a/include/sql/update/2011041601_to_2011051201.sql b/include/sql/update/2011041601_to_2011051201.sql
deleted file mode 100644 (file)
index 48d2e55..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011041601_to_2011051201.sql 4129 2011-05-11 23:20:44Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** バージョン2.0管理画面 ***
--- ページ定義マスター
-DELETE FROM _page_def WHERE pd_id = 'admin_index';
-INSERT INTO _page_def
-(pd_id,         pd_sub_id,      pd_position_id, pd_index, pd_widget_id,   pd_config_id, pd_visible, pd_editable, pd_title_visible) VALUES
-('admin_index', '',             'top',          1,        'admin_menu3',  0,            true,       false, false),
-('admin_index', 'front',        'main',         1,        'admin_main',   0,            true,       false, false),
-('admin_index', 'front',        'main',         2,        'admin/analytics',   0,            true,       true, false),
-('admin_index', 'front',        'main',         3,        'admin/opelog',   0,            true,       true, false),
-('admin_index', 'front',        'left',         1,        'admin/loginuser',   0,            true,       true, true),
-('admin_index', 'content',      'main',         1,        'admin_main',   0,            true,       false, false);
-
--- ページ情報マスター
-DELETE FROM _page_info WHERE pn_id = 'admin_index';
-INSERT INTO _page_info
-(pn_id,         pn_sub_id, pn_content_type, pn_use_ssl) VALUES
-('admin_index', 'front',   'dboard',        false);
-
--- 管理画面ページデータ(デフォルトを変更)
-UPDATE _page_id SET pg_default_sub_id = 'content' WHERE pg_id = 'admin_index' AND pg_type = 0;
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = '_admin2';
-INSERT INTO _templates
-(tm_id,           tm_name,                    tm_type, tm_device_type, tm_mobile, tm_clean_type, tm_create_dt) VALUES
-('_admin2',       '_admin2',                  1,       0,              false,     0,             now());
-
--- システム設定マスター(管理画面用デフォルトテンプレートを変更)
-UPDATE _system_config SET sc_value = '_admin2' WHERE sc_id = 'admin_default_template';
diff --git a/include/sql/update/2011051201_to_2011051401.sql b/include/sql/update/2011051201_to_2011051401.sql
deleted file mode 100644 (file)
index 97e36f5..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011051201_to_2011051401.sql 4135 2011-05-14 15:01:14Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_content_type              VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- ページのコンテンツ種別
-
--- ログインユーザマスター
-ALTER TABLE _login_user ADD lu_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- 登録日時
-
--- 運用ログトラン
-ALTER TABLE _operation_log ADD ol_search_option          TEXT                                         NOT NULL;      -- 検索用補助データ
diff --git a/include/sql/update/2011051401_to_2011060601.sql b/include/sql/update/2011051401_to_2011060601.sql
deleted file mode 100644 (file)
index 2fa0090..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011051401_to_2011060601.sql 4172 2011-06-08 09:14:26Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- キャッシュトラン
-ALTER TABLE _cache MODIFY ca_url               VARCHAR(191)   DEFAULT ''                    NOT NULL;      -- アクセスURL
-
--- サイト解析ページビュートラン
-ALTER TABLE _analyze_page_view MODIFY ap_url               VARCHAR(191)   DEFAULT ''                    NOT NULL;      -- URL
-
--- サイト解析日時カウントトラン
-ALTER TABLE _analyze_daily_count MODIFY aa_url             VARCHAR(191)   DEFAULT ''                    NOT NULL;      -- URL
-
--- *** システム標準テーブル ***
--- Wikiコンテンツマスター
-ALTER TABLE wiki_content MODIFY wc_id                VARCHAR(191)   DEFAULT ''                    NOT NULL;      -- コンテンツID
diff --git a/include/sql/update/2011060601_to_2011061601.sql b/include/sql/update/2011060601_to_2011061601.sql
deleted file mode 100644 (file)
index 118cbd0..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011060601_to_2011061601.sql 4210 2011-06-16 05:41:44Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 's/default_simple';
-DELETE FROM _templates WHERE tm_id = 's/default_jquery';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_available, tm_clean_type, tm_create_dt) VALUES
-('s/default_simple',              's/default_simple',              1,       2,              false,     true,         0,             now()),
-('s/default_jquery',              's/default_jquery',              1,       2,              false,     true,         0,             now());
diff --git a/include/sql/update/2011061601_to_2011070101.sql b/include/sql/update/2011061601_to_2011070101.sql
deleted file mode 100644 (file)
index 8f8b7fd..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011061601_to_2011070101.sql 4230 2011-07-19 03:35:44Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-DELETE FROM _system_config WHERE sc_id = 'portal_server_version';
-DELETE FROM _system_config WHERE sc_id = 'portal_server_url';
-DELETE FROM _system_config WHERE sc_id = 'site_registered_in_portal';
-INSERT INTO _system_config 
-(sc_id,                       sc_value,           sc_name) VALUES
-('portal_server_version',     '',                 'ポータルサーババージョン'),
-('portal_server_url',         'http://magic3.me', 'ポータルサーバURL'),
-('site_registered_in_portal', '0', 'ポータルサーバへのサイトの登録状況');
diff --git a/include/sql/update/2011070101_to_2011080401.sql b/include/sql/update/2011070101_to_2011080401.sql
deleted file mode 100644 (file)
index f09e7ef..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011070101_to_2011080401.sql 4246 2011-08-08 09:21:04Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-DELETE FROM _system_config WHERE sc_id = 'hierarchical_page';
-INSERT INTO _system_config 
-(sc_id,               sc_value, sc_name) VALUES
-('hierarchical_page', '0',      'ページの階層化');
diff --git a/include/sql/update/2011080401_to_2011081801.sql b/include/sql/update/2011080401_to_2011081801.sql
deleted file mode 100644 (file)
index 886485e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011080401_to_2011081801.sql 4312 2011-09-12 12:19:59Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_license_type    INT            DEFAULT 0                     NOT NULL;      -- ライセンスタイプ(0=オープンソース、1=商用)
-
--- ログインユーザマスター
-ALTER TABLE _login_user ADD lu_admin_widget            TEXT                              NOT NULL;      -- システム運営者が管理可能なウィジェット(「,」区切りで複数指定可)
-ALTER TABLE _login_user ADD lu_user_type_option        TEXT                              NOT NULL;      -- ユーザタイプオプション(「ウィジェットID=ユーザタイプ」形式の前後「;」区切りで複数指定可)
diff --git a/include/sql/update/2011081801_to_2011092601.sql b/include/sql/update/2011081801_to_2011092601.sql
deleted file mode 100644 (file)
index d3cf6cc..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011081801_to_2011092601.sql 4361 2011-09-26 12:02:34Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページ情報マスター
-DELETE FROM _page_info WHERE pn_id = 'index' AND pn_sub_id = 'photo';
-DELETE FROM _page_info WHERE pn_id = 'm_index' AND pn_sub_id = 'photo';
-INSERT INTO _page_info
-(pn_id,       pn_sub_id, pn_content_type, pn_use_ssl) VALUES
-('index',     'photo',     'photo',         false),
-('m_index',   'photo',     'photo',         false);
-
--- *** システム標準テーブル ***
--- フォトギャラリー設定マスター
-DROP TABLE IF EXISTS photo_config;
-CREATE TABLE photo_config (
-    hg_id                VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ID(key)
-    hg_value             TEXT                                         NOT NULL,      -- 値
-    hg_name              VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 名称
-    hg_description       VARCHAR(160)   DEFAULT ''                    NOT NULL,      -- 説明
-    hg_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    PRIMARY KEY          (hg_id)
-) TYPE=innodb;
-
-INSERT INTO photo_config
-(hg_id,                     hg_value,           hg_name,                                  hg_index) VALUES
-('image_protect_copyright',       '1',                '画像著作権保護',                             1),
-('upload_image_max_size',   '500K',             'アップロード画像の最大サイズ(バイト数)', 2),
-('watermark_filename',      'default_mark.jpg', 'セキュリティ保護画像ファイル名',         3),
-('default_image_size',      '160',              '公開画像デフォルトサイズ',               4),
-('default_thumbnail_size',  '128',              'サムネール画像デフォルトサイズ',         5),
-('thumbnail_bg_color',      '#FFFFFF',              'サムネール画像背景色',         6),
-('thumbnail_type',          '0',              'サムネールタイプ',         7),
-('image_category_count',  '2',                '画像カテゴリー数',         8),
-('photo_list_item_count',  '24',                '画像一覧表示項目数',         9),
-('photo_list_order',        '1',         '画像一覧表示順',                         10),
-('photo_title_short_length',  '10',                '画像タイトル(略式)文字数',         11);
-
--- 写真情報マスター
-DROP TABLE IF EXISTS photo;
-CREATE TABLE photo (
-    ht_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ht_id                INT            DEFAULT 0                     NOT NULL,      -- 画像ID
-    ht_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    ht_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    ht_public_id         CHAR(32)       DEFAULT ''                    NOT NULL,      -- 公開用画像ID
-    ht_dir               TEXT                                         NOT NULL,      -- 画像格納ディレクトリ
-    ht_code              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 画像コード
-    ht_mime_type         VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 画像MIMEタイプ
-    ht_image_size        VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 画像縦横サイズ
-    ht_original_filename VARCHAR(256)   DEFAULT ''                    NOT NULL,      -- 元の画像ファイル名
-    ht_file_size         INT            DEFAULT 0                     NOT NULL,      -- ファイルサイズ(バイト)
-    ht_name              VARCHAR(160)   DEFAULT ''                    NOT NULL,      -- 画像名称
-    ht_camera            VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- カメラ
-    ht_location          TEXT                                         NOT NULL,      -- 撮影場所
-    ht_date              DATE           DEFAULT '0000-00-00'          NOT NULL,      -- 撮影日
-    ht_time              INT            DEFAULT 0                     NOT NULL,      -- 撮影時間(hhmm)
-    ht_note              TEXT                                         NOT NULL,      -- 補足情報
-    ht_keyword           TEXT                                         NOT NULL,      -- 検索用キーワード(「,」区切りで複数指定可)
-    ht_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示するかどうか
-    ht_user_limited      BOOLEAN        DEFAULT false                 NOT NULL,      -- 参照ユーザを制限
-    ht_license           VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- ライセンス(ロイヤリティフリー(RF),ライツマネージド(RM))
-    ht_owner_id          INT            DEFAULT 0                     NOT NULL,      -- 所有者ID
-    ht_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- アップロード日時
-    ht_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 公開期間(開始)
-    ht_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 公開期間(終了)
-    
-    ht_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ht_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ht_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ht_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ht_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ht_serial),
-    UNIQUE               (ht_id,        ht_language_id,               ht_history_index)
-) TYPE=innodb;
-
--- 写真カテゴリマスター
-DROP TABLE IF EXISTS photo_category;
-CREATE TABLE photo_category (
-    hc_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    hc_id                INT            DEFAULT 0                     NOT NULL,      -- カテゴリID
-    hc_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    hc_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    hc_name              VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- カテゴリ名称
-    hc_parent_id         INT            DEFAULT 0                     NOT NULL,      -- 親カテゴリID
-    hc_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    hc_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示するかどうか
-
-    hc_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    hc_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    hc_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    hc_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    hc_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (hc_serial),
-    UNIQUE               (hc_id,        hc_language_id,  hc_history_index)
-) TYPE=innodb;
-
--- 写真と写真カテゴリーの対応付けマスター
-DROP TABLE IF EXISTS photo_with_category;
-CREATE TABLE photo_with_category (
-    hw_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    hw_photo_serial      INT            DEFAULT 0                     NOT NULL,      -- 写真情報シリアル番号
-    hw_index             INT            DEFAULT 0                     NOT NULL,      -- インデックス番号(0~)
-    hw_category_id       INT            DEFAULT 0                     NOT NULL,      -- カテゴリID
-    PRIMARY KEY          (hw_serial),
-    UNIQUE               (hw_photo_serial,  hw_index)
-) TYPE=innodb;
diff --git a/include/sql/update/2011092601_to_2011101101.sql b/include/sql/update/2011092601_to_2011101101.sql
deleted file mode 100644 (file)
index 91d4860..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011092601_to_2011101101.sql 4417 2011-10-27 22:53:44Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-DELETE FROM _system_config WHERE sc_id = 'fix_ie6_transparent_png';
-INSERT INTO _system_config 
-(sc_id,                       sc_value,           sc_name) VALUES
-('fix_ie6_transparent_png', '0', 'IE6の透過PNG対応');
-
--- *** システム標準テーブル ***
--- 写真情報マスター
-ALTER TABLE photo ADD ht_rate_average       DECIMAL(4,2)  DEFAULT 0                     NOT NULL;      -- 評価平均値
-ALTER TABLE photo ADD ht_view_count         INT           DEFAULT 0                     NOT NULL;      -- 参照数
-
--- 画像評価トラン
-DROP TABLE IF EXISTS photo_rate;
-CREATE TABLE photo_rate (
-    hr_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    hr_photo_id          INT            DEFAULT 0                     NOT NULL,      -- 画像ID
-    hr_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    hr_ip                VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- アクセス元IP(IPv6対応)
-    hr_parent_serial     INT            DEFAULT 0                     NOT NULL,      -- 親コメントのシリアル番号
-    hr_user_id           INT            DEFAULT 0                     NOT NULL,      -- ユーザID
-    hr_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 投稿日時
-    
-    hr_rate_value        SMALLINT       DEFAULT 0                     NOT NULL,      -- 評価値
-    hr_message           TEXT                                         NOT NULL,      -- メッセージ
-    hr_status            SMALLINT       DEFAULT 0                     NOT NULL,      -- 状態(0=未設定、1=非公開、2=公開)
-    
-    hr_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    hr_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    hr_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (hr_serial)
-) TYPE=innodb;
diff --git a/include/sql/update/2011101101_to_2011112601.sql b/include/sql/update/2011101101_to_2011112601.sql
deleted file mode 100644 (file)
index f2ddddc..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011101101_to_2011112601.sql 4472 2011-11-26 11:00:36Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ユーザグループマスター
-DROP TABLE IF EXISTS _user_group;
-CREATE TABLE _user_group (
-    ug_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ug_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- グループID
-    ug_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    ug_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    ug_name              VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- グループ名称
-    ug_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート用
-
-    ug_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ug_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ug_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ug_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ug_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ug_serial),
-    UNIQUE               (ug_id,        ug_language_id,               ug_history_index)
-) TYPE=innodb;
-
--- ユーザとユーザグループの対応付けマスター
-DROP TABLE IF EXISTS _user_with_group;
-CREATE TABLE _user_with_group (
-    uw_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    uw_user_serial       INT            DEFAULT 0                     NOT NULL,      -- ログインユーザシリアル番号
-    uw_index             INT            DEFAULT 0                     NOT NULL,      -- インデックス番号(0~)
-    uw_group_id          VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- ユーザグループID
-    PRIMARY KEY          (uw_serial),
-    UNIQUE               (uw_user_serial,    uw_index)
-) TYPE=innodb;
-
--- *** システム標準テーブル ***
--- 個人情報追加フィールド
-DROP TABLE IF EXISTS person_info_opt_field;
-CREATE TABLE person_info_opt_field (
-    pf_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- フィールドID
-    pf_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    pf_name              VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 名称
-    pf_field_type        VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- フィールドタイプ
-    pf_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    PRIMARY KEY          (pf_id,        pf_language_id)
-) TYPE=innodb;
-
--- 個人情報追加フィールド値
-DROP TABLE IF EXISTS person_info_opt_value;
-CREATE TABLE person_info_opt_value (
-    pl_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    pl_person_serial     INT            DEFAULT 0                     NOT NULL,      -- 個人情報シリアル番号
-    pl_field_id          VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 個人情報追加フィールドID
-    pl_value             TEXT                                         NOT NULL,      -- 値
-    PRIMARY KEY          (pl_serial),
-    UNIQUE               (pl_person_serial, pl_field_id)
-) TYPE=innodb;
diff --git a/include/sql/update/2011112601_to_2011112901.sql b/include/sql/update/2011112601_to_2011112901.sql
deleted file mode 100644 (file)
index 119b66b..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011112601_to_2011112901.sql 4498 2011-12-09 00:41:29Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
--- *** Eコマーステーブル ***
--- 受注明細トラン
-ALTER TABLE order_detail MODIFY od_product_name     TEXT NOT NULL;       -- 商品名
-ALTER TABLE order_detail ADD od_product_class     VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 商品クラス
-ALTER TABLE order_detail ADD od_product_type_id   VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 商品タイプ
-ALTER TABLE order_detail ADD od_product_code     TEXT NOT NULL;       -- 商品コード
-
--- 商品タイプマスター
-DROP TABLE IF EXISTS product_type;
-CREATE TABLE product_type (
-    py_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    py_product_class     VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 商品クラス
-    py_id                VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 商品タイプID
-    py_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    py_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    py_name              VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- 名称
-    py_code              VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 商品タイプコード
-    py_description       VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 説明
-    py_index             INT            DEFAULT 0                     NOT NULL,      -- 項目順(1~)
-    py_single_select     BOOLEAN        DEFAULT false                 NOT NULL,      -- 単数選択のみ
-
-    py_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    py_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    py_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    py_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    py_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (py_serial),
-    UNIQUE               (py_product_class,     py_id,        py_language_id,               py_history_index)
-) TYPE=innodb;
-
--- 商品価格マスター
-ALTER TABLE product_price DROP INDEX pp_product_id;-- ALTER TABLE product_price DROP CONSTRAINT product_price_pp_product_id_pp_language_id_pp_price_type_id_key; -- ユニーク制約削除
-ALTER TABLE product_price ADD pp_product_class     VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 商品クラス
-ALTER TABLE product_price ADD pp_product_type_id   VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 商品タイプ
-ALTER TABLE product_price ADD UNIQUE (pp_product_class,     pp_product_id,    pp_product_type_id,    pp_language_id,      pp_price_type_id,      pp_history_index);                -- ユニーク制約再設定
-
--- ショッピングカート商品項目
-ALTER TABLE shop_cart_item DROP INDEX si_head_serial;-- ALTER TABLE shop_cart_item DROP CONSTRAINT shop_cart_item_si_head_serial_si_product_id_key; -- ユニーク制約削除
-ALTER TABLE shop_cart_item ADD si_product_class     VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 商品クラス
-ALTER TABLE shop_cart_item ADD si_product_type_id   VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 商品タイプ
-ALTER TABLE shop_cart_item ADD UNIQUE (si_head_serial, si_product_class,     si_product_id,    si_product_type_id);                -- ユニーク制約再設定
-
diff --git a/include/sql/update/2011112901_to_2011122501.sql b/include/sql/update/2011112901_to_2011122501.sql
deleted file mode 100644 (file)
index aafd659..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011112901_to_2011122501.sql 4523 2011-12-26 08:56:10Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
--- *** システムベーステーブル ***
--- クライアント設定値
-DROP TABLE IF EXISTS _client_param;
-CREATE TABLE _client_param (
-    cp_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    cp_id                CHAR(32)       DEFAULT ''                    NOT NULL,      -- クライアントID
-    cp_widget_id         VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- ウィジェットID
-    
-    cp_param             TEXT                                         NOT NULL,      -- パラメータオブジェクトをシリアライズしたもの
-    cp_ip                VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- アクセス元IP(IPv6対応)
-    cp_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    PRIMARY KEY          (cp_serial),
-    UNIQUE               (cp_id,        cp_widget_id)
-) TYPE=innodb;
-
--- コンテンツ参照トラン
-ALTER TABLE _view_count MODIFY vc_type_id           VARCHAR(20)     DEFAULT ''                    NOT NULL;      -- コンテンツタイプ(「a:c-h」a=アクセスポイント,c=コンテンツタイプ,h=参照方法)
-
--- ダウンロード実行ログトラン
-DROP TABLE IF EXISTS _download_log;
-CREATE TABLE _download_log (
-    dl_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    dl_user_id           INT            DEFAULT 0                     NOT NULL,      -- ユーザID
-    dl_content_type      VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- コンテンツ種別
-    dl_content_id        VARCHAR(32)    DEFAULT ''                    NOT NULL,      -- コンテンツID
-    dl_access_log_serial INT            DEFAULT 0                     NOT NULL,      -- アクセスログシリアル番号
-    dl_dt                TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 記録日時
-    PRIMARY KEY          (dl_serial)
-) TYPE=innodb;
-
--- インナーウィジェット
-ALTER TABLE _iwidgets MODIFY iw_type         VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- ウィジェット種別
-ALTER TABLE _iwidgets ADD iw_license_type    INT            DEFAULT 0                     NOT NULL;      -- ライセンスタイプ(0=オープンソース、1=商用)
-ALTER TABLE _iwidgets ADD iw_online          BOOLEAN        DEFAULT false                 NOT NULL;      -- オンライン接続があるかどうか
-
--- インナーウィジェットメソッド定義マスター
-DROP TABLE IF EXISTS _iwidget_method;
-CREATE TABLE _iwidget_method (
-    id_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    id_type              VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- メソッド種別
-    id_id                INT            DEFAULT 0                     NOT NULL,      -- メソッドID
-    id_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    id_set_id            INT            DEFAULT 0                     NOT NULL,      -- セットID(0=デフォルトセット)
-    id_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    id_name              VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 名称
-    id_desc_short        TEXT                                         NOT NULL,      -- 簡易説明(テキストのみ)
-    id_desc              TEXT                                         NOT NULL,      -- 説明(HTML)
-    id_iwidget_id        VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- インナーウィジェットID
-    id_param             TEXT                                         NOT NULL,      -- 設定インナーウィジェット用パラメータ
-    id_index             INT            DEFAULT 0                     NOT NULL,      -- 表示順(1~)
-    id_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 項目を表示するかどうか
-    id_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 有効期限開始日時
-    id_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 有効期限終了日時
-    
-    id_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    id_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    id_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    id_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    id_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (id_serial),
-    UNIQUE               (id_type,      id_id,        id_language_id, id_set_id,    id_history_index)
-) TYPE=innodb;
-
--- 番号管理マスター
-DROP TABLE IF EXISTS _used_no;
-CREATE TABLE _used_no (
-    un_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- ID(Key)
-    un_value             VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 値
-    PRIMARY KEY  (un_id)
-) TYPE=innodb;
-
--- コンテンツアクセス権マスター
-DROP TABLE IF EXISTS _content_access;
-CREATE TABLE _content_access (
-    cs_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    cs_user_id           INT            DEFAULT 0                     NOT NULL,      -- ユーザID(全ユーザ対象のときは0)
-    cs_content_type      VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- コンテンツ種別
-    cs_content_id        VARCHAR(32)    DEFAULT ''                    NOT NULL,      -- コンテンツID
-    
-    cs_read              BOOLEAN        DEFAULT false                 NOT NULL,      -- 読み込み権限
-    cs_write             BOOLEAN        DEFAULT false                 NOT NULL,      -- 書き込み権限
-    cs_download          BOOLEAN        DEFAULT false                 NOT NULL,      -- ダウンロード権限
-    cs_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 有効期限開始日時
-    cs_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 有効期限終了日時
-    
-    cs_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    cs_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    PRIMARY KEY          (cs_serial),
-    UNIQUE               (cs_user_id,   cs_content_type,    cs_content_id)
-) TYPE=innodb;
-
--- *** システム標準テーブル ***
--- 写真カテゴリマスター
-ALTER TABLE photo_category ADD hc_password          CHAR(32)       DEFAULT ''                    NOT NULL;      -- アクセス制限パスワード(MD5)
-
--- フォトギャラリー設定マスター(フォトギャラリーメイン)
-INSERT INTO photo_config
-(hg_id,               hg_value,           hg_name,                                  hg_index) VALUES
-('photo_category_password', '0',                '画像カテゴリーのパスワード制限',             12);
-
--- 商品注文書トラン
-ALTER TABLE order_sheet ADD oe_discount_desc       TEXT                                         NOT NULL;      -- 値引き説明
-ALTER TABLE order_sheet ADD oe_status              INT            DEFAULT 0                     NOT NULL;      -- 注文書状態(0=通常、1=オンライン処理中)
-ALTER TABLE order_sheet ADD oe_session             CHAR(32)       DEFAULT ''                    NOT NULL;      -- セッションID
-
--- 商品受注トラン
-ALTER TABLE order_header ADD or_discount_desc       TEXT                                         NOT NULL;      -- 値引き説明
-ALTER TABLE order_header ADD or_pay_dt              TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- 支払い日時
-
--- 商品クラスマスター
-DROP TABLE IF EXISTS product_class;
-CREATE TABLE product_class (
-    pu_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    pu_id                VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 商品クラスID
-    pu_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    pu_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    pu_name              VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 名称
-    pu_description       VARCHAR(200)   DEFAULT ''                    NOT NULL,      -- 説明
-    pu_index             INT            DEFAULT 0                     NOT NULL,      -- 表示順(1~)
-
-    pu_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    pu_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    pu_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    pu_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    pu_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (pu_serial),
-    UNIQUE               (pu_id,        pu_language_id,               pu_history_index)
-) TYPE=innodb;
diff --git a/include/sql/update/2011122501_to_2012010801.sql b/include/sql/update/2011122501_to_2012010801.sql
deleted file mode 100644 (file)
index 9326f3a..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2011 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2011122501_to_2012010801.sql 4590 2012-01-14 00:36:41Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- メニュー定義マスター
-ALTER TABLE _menu_def ADD md_enable            BOOLEAN        DEFAULT true                  NOT NULL;      -- 使用可能かどうか
-
--- ページ情報マスター
-DELETE FROM _page_info WHERE pn_id = 's_index';
-INSERT INTO _page_info
-(pn_id,       pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('s_index',   'content',   'content',       false),
-('s_index',   'shop',      'product',       false),
-('s_index',   'shop_safe', '',              true),
-('s_index',   'bbs',       'bbs',           false),
-('s_index',   'blog',      'blog',          false),
-('s_index',   'wiki',      'wiki',          false),
-('s_index',   'user',      'user',          false),
-('s_index',   'event',     'event',         false),
-('s_index',   'photo',     'photo',         false),
-('s_index',   'contact',   '',              true),
-('s_index',   'contact2',  '',              true),
-('s_index',   'contact3',  '',              true),
-('s_index',   'safe',      '',              true);
-
--- *** システム標準テーブル ***
-
-
diff --git a/include/sql/update/2012010801_to_2012011801.sql b/include/sql/update/2012010801_to_2012011801.sql
deleted file mode 100644 (file)
index 72947cd..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012010801_to_2012011801.sql 4637 2012-01-31 04:29:30Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- *** Eコマーステーブル ***\r
--- フォト商品情報マスター\r
-DROP TABLE IF EXISTS photo_product;\r
-CREATE TABLE photo_product (\r
-    hp_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号\r
-    hp_id                INT            DEFAULT 0                     NOT NULL,      -- 商品ID\r
-    hp_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID\r
-    hp_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)\r
-\r
-    hp_name              VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 商品名称\r
-    hp_code              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 商品コード\r
-    hp_product_type      SMALLINT       DEFAULT 0                     NOT NULL,      -- 商品タイプ(1=単品商品(親子なし)、2=単品商品(親子)、10=セット商品、20=オプション商品)\r
-    hp_description       TEXT                                         NOT NULL,      -- 商品説明\r
-    hp_description_short VARCHAR(100)   DEFAULT ''                    NOT NULL,      -- 商品説明(簡易)\r
-    hp_admin_note        VARCHAR(100)   DEFAULT ''                    NOT NULL,      -- 管理者用備考\r
-    hp_related_product   TEXT                                         NOT NULL,      -- 関連商品ID(,区切り)\r
-    hp_manufacturer_id   INT            DEFAULT 0                     NOT NULL,      -- メーカーID\r
-    hp_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート用\r
-    hp_default_price     VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 優先する価格タイプ\r
-    hp_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示するかどうか\r
-    hp_meta_title        TEXT                                         NOT NULL,      -- METAタグ、タイトル\r
-    hp_meta_description  TEXT                                         NOT NULL,      -- METAタグ、ページ要約\r
-    hp_meta_keywords     TEXT                                         NOT NULL,      -- METAタグ、検索用キーワード\r
-    hp_search_keyword    VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 検索キーワード(「,」区切り)\r
-    hp_site_url          TEXT                                         NOT NULL,      -- 詳細情報のサイト\r
-    hp_unit_type_id      VARCHAR(4)     DEFAULT ''                    NOT NULL,      -- 販売の基準となる単位種別\r
-    hp_unit_quantity     DECIMAL(5,2)   DEFAULT 0                     NOT NULL,      -- 1販売単位となる数量\r
-    hp_innner_quantity   INT            DEFAULT 0                     NOT NULL,      -- 1販売単位に含まれる製品数量(入数)\r
-    hp_quantity_decimal  INT            DEFAULT 0                     NOT NULL,      -- 数量小数桁\r
-    hp_price_decimal     INT            DEFAULT 0                     NOT NULL,      -- 単価小数桁\r
-    hp_weight            DECIMAL(5,2)   DEFAULT 0                     NOT NULL,      -- 重量(kg)-配送時の送料算出に使用\r
-    hp_deliv_type        VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 配送料金の計算方法\r
-    hp_deliv_size        VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 商品サイズ-送料計算に使用\r
-    hp_deliv_fee         DECIMAL(15,4)  DEFAULT 0                     NOT NULL,      -- 商品単位送料-送料計算に使用\r
-    hp_tax_type_id       VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 税種別ID\r
-    \r
-    hp_attr_menu         TEXT                                         NOT NULL,      -- 商品タイプが単品商品(親子なし)の場合の商品属性選択メニュー(メニュー間区切り「;」、メニュー内区切り「,」)\r
-    hp_parent_id         INT            DEFAULT 0                     NOT NULL,      -- 商品タイプが単品商品(親子)の場合の商品親ID\r
-    hp_attr_condition    TEXT                                         NOT NULL,      -- 商品タイプが単品商品(親子)の場合の商品属性の条件(,区切り)\r
-    hp_product_set       TEXT                                         NOT NULL,      -- 商品タイプがセット商品の場合の組み合わせ商品ID(,区切り)\r
-    hp_option_price      VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- 商品タイプがオプション商品の場合の価格設定\r
-    \r
-    hp_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者\r
-    hp_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時\r
-    hp_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者\r
-    hp_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時\r
-    hp_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態\r
-    PRIMARY KEY          (hp_serial),\r
-    UNIQUE               (hp_id,        hp_language_id,               hp_history_index)\r
-) TYPE=innodb;\r
-\r
--- 商品画像マスター\r
-ALTER TABLE product_image DROP INDEX im_type;-- ALTER TABLE product_image DROP CONSTRAINT product_image_im_type_im_id_im_language_id_im_size_id_im_hi_key; -- ユニーク制約削除\r
-ALTER TABLE product_image ADD im_product_class     VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 商品クラス\r
-ALTER TABLE product_image ADD UNIQUE (im_product_class,      im_type,      im_id,              im_language_id,          im_size_id,       im_history_index);-- ユニーク制約再設定\r
-\r
-\r
-\r
diff --git a/include/sql/update/2012011801_to_2012012501.sql b/include/sql/update/2012011801_to_2012012501.sql
deleted file mode 100644 (file)
index ce51e76..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012011801_to_2012012501.sql 4615 2012-01-25 00:46:36Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- *** システム標準テーブル ***\r
--- 写真情報マスター\r
-ALTER TABLE photo ADD ht_sort_order        INT            DEFAULT 0                     NOT NULL;      -- ソート順\r
-\r
--- フォトギャラリー設定マスター\r
-INSERT INTO photo_config\r
-(hg_id,                 hg_value,           hg_name,                                  hg_index) VALUES\r
-('image_size',          '450',              '公開画像サイズ',               13),\r
-('thumbnail_size',      '128',              'サムネール画像サイズ',         14),\r
-('image_quality',       '100',              '画像の品質',                   15),\r
-('photo_list_sort_key', 'index',            '画像一覧のソートキー',         16);\r
diff --git a/include/sql/update/2012012501_to_2012012801.sql b/include/sql/update/2012012501_to_2012012801.sql
deleted file mode 100644 (file)
index 72a9882..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012012501_to_2012012801.sql 4626 2012-01-28 12:39:25Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- *** システム標準テーブル ***\r
--- ブログ設定マスター\r
-INSERT INTO blog_config\r
-(bg_id,                     bg_value,    bg_name,                              bg_index) VALUES\r
-('s:entry_view_count',        '10',        '記事表示数',                         100),\r
-('s:entry_view_order',        '1',         '記事表示順',                         101),\r
-('s:top_content',  '',          'トップ画面コンテンツ', 102),\r
-('s:auto_resize_image_max_size',  '280',      '画像の自動変換最大サイズ',           103),\r
-('s:jquery_view_style',       '1',      'jQueryMobile表示スタイル',           104),\r
-('s:use_title_list_image',       '1',      'タイトルリスト画像を使用',           105),\r
-('s:title_list_image',       '',      'タイトルリスト画像',           106);\r
diff --git a/include/sql/update/2012012801_to_2012022401.sql b/include/sql/update/2012012801_to_2012022401.sql
deleted file mode 100644 (file)
index 95cf650..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012012801_to_2012022401.sql 4728 2012-03-01 14:52:09Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- 運用ログトラン\r
-ALTER TABLE _operation_log ADD ol_widget_id         VARCHAR(50)    DEFAULT ''                    NOT NULL;      -- 実行ウィジェットID(ファイル名)\r
-\r
--- ページ定義マスター\r
-ALTER TABLE _page_def ADD pd_password          CHAR(32)       DEFAULT ''                    NOT NULL;      -- アクセス制限パスワード(MD5)\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content ADD cn_password          CHAR(32)       DEFAULT ''                    NOT NULL;      -- アクセス制限パスワード(MD5)\r
-\r
--- フォトギャラリー設定マスター(スマートフォン用)\r
-INSERT INTO photo_config\r
-(hg_id,                     hg_value,           hg_name,                                  hg_index) VALUES\r
-('s:photo_list_item_count',  '24',                '画像一覧表示項目数',         9),\r
-('s:photo_list_order',        '1',         '画像一覧表示順',                         10),\r
-('s:photo_title_short_length',  '7',                '画像タイトル(略式)文字数',         11),\r
-('s:photo_list_sort_key', 'index',            '画像一覧のソートキー',         16),\r
-('s:default_image_size',      '320',              '公開画像デフォルトサイズ',               4),\r
-('s:default_thumbnail_size',  '128',              'サムネール画像デフォルトサイズ',         5);\r
diff --git a/include/sql/update/2012022401_to_2012031501.sql b/include/sql/update/2012022401_to_2012031501.sql
deleted file mode 100644 (file)
index 5ed2c48..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012022401_to_2012031501.sql 4764 2012-03-17 13:28:15Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- システム設定マスター\r
-INSERT INTO _system_config \r
-(sc_id,                sc_value,         sc_name) VALUES\r
-('site_logo_filename', 'logo_72c.jpg',   'サイトロゴファイル名');\r
-\r
--- ユーザアクセスログトラン\r
-ALTER TABLE _access_log ADD al_cookie      BOOLEAN        DEFAULT false                 NOT NULL;      -- クッキーがあるかどうか\r
-ALTER TABLE _access_log ADD al_crawler     BOOLEAN        DEFAULT false                 NOT NULL;      -- クローラかどうか\r
diff --git a/include/sql/update/2012031501_to_2012032701.sql b/include/sql/update/2012031501_to_2012032701.sql
deleted file mode 100644 (file)
index 896d22a..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012031501_to_2012032701.sql 4803 2012-03-30 03:07:02Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- *** システム標準テーブル ***\r
--- ブログコメントトラン\r
-ALTER TABLE blog_comment ADD bo_no                INT            DEFAULT 0                     NOT NULL;      -- コメント番号\r
diff --git a/include/sql/update/2012032701_to_2012042401.sql b/include/sql/update/2012032701_to_2012042401.sql
deleted file mode 100644 (file)
index 6fef0d0..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012032701_to_2012042401.sql 4890 2012-04-26 22:30:39Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- ページIDマスター\r
-ALTER TABLE _page_id ADD pg_admin_menu           BOOLEAN        DEFAULT false                  NOT NULL;      -- 管理メニューを表示するかどうか(ページID種別がアクセスポイント時。初期値。)\r
-ALTER TABLE _page_id ADD pg_analytics           BOOLEAN        DEFAULT false                  NOT NULL;      -- アクセス解析対象かどうか(ページID種別がアクセスポイント時)\r
-UPDATE _page_id SET pg_admin_menu = true WHERE pg_id = 'index' AND pg_type = 0;\r
-UPDATE _page_id SET pg_analytics = true WHERE pg_id = 'index' AND pg_type = 0;\r
-UPDATE _page_id SET pg_analytics = true WHERE pg_id = 'm_index' AND pg_type = 0;\r
-UPDATE _page_id SET pg_analytics = true WHERE pg_id = 's_index' AND pg_type = 0;\r
-\r
--- *** システム標準テーブル ***\r
-\r
diff --git a/include/sql/update/2012042401_to_2012050201.sql b/include/sql/update/2012042401_to_2012050201.sql
deleted file mode 100644 (file)
index 499808a..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012042401_to_2012050201.sql 4897 2012-05-03 12:02:53Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- ページ定義マスター\r
-ALTER TABLE _page_def ADD pd_top_content             TEXT                                         NOT NULL;      -- 上部コンテンツ\r
-ALTER TABLE _page_def ADD pd_bottom_content             TEXT                                         NOT NULL;      -- 下部コンテンツ\r
-ALTER TABLE _page_def ADD pd_show_readmore BOOLEAN        DEFAULT false                  NOT NULL;      -- 「もっと読む」ボタンを表示するかどうか\r
-ALTER TABLE _page_def ADD pd_readmore_title             VARCHAR(40)    DEFAULT ''                    NOT NULL;      -- 「もっと読む」タイトル\r
-ALTER TABLE _page_def ADD pd_readmore_url             TEXT                                         NOT NULL;      -- 「もっと読む」リンク先URL\r
-\r
diff --git a/include/sql/update/2012050201_to_2012051201.sql b/include/sql/update/2012050201_to_2012051201.sql
deleted file mode 100644 (file)
index 8f95f6f..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012050201_to_2012051201.sql 4910 2012-05-18 05:20:20Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- ユーザアクセスログトラン\r
-ALTER TABLE _access_log ADD al_is_first      BOOLEAN        DEFAULT false                 NOT NULL;      -- 最初のアクセスかどうか(クッキー値でチェック)\r
-ALTER TABLE _access_log ADD al_analyzed      BOOLEAN        DEFAULT false                 NOT NULL;      -- ログ解析完了かどうか\r
-\r
--- ページ情報マスター\r
-ALTER TABLE _page_info ADD pn_head_others              TEXT                                         NOT NULL;      -- HEADタグ追加\r
diff --git a/include/sql/update/2012051201_to_2012052101.sql b/include/sql/update/2012051201_to_2012052101.sql
deleted file mode 100644 (file)
index bc53e08..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012051201_to_2012052101.sql 4927 2012-05-29 09:35:47Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- 言語マスター\r
-ALTER TABLE _language MODIFY ln_id       VARCHAR(5)     DEFAULT ''                    NOT NULL;      -- 言語ID\r
-ALTER TABLE _language MODIFY ln_name     TEXT NOT NULL;       -- 言語名称\r
-ALTER TABLE _language ADD ln_image_filename      VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- 画像ファイル名\r
-ALTER TABLE _language ADD ln_available         BOOLEAN        DEFAULT true                  NOT NULL;      -- メニューから選択可能かどうか\r
-DELETE FROM _language;\r
-INSERT INTO _language\r
-(ln_id, ln_name,          ln_name_en,   ln_priority, ln_image_filename) VALUES\r
-('ja',  '日本語',         'Japanese',   0,           'jp.png'),\r
-('en',  '英語',           'English',    1,           'gb.png'),\r
-('de',  'ドイツ語',       'German',     2,           'de.png'),\r
-('fr',  'フランス語',     'French',     3,           'fr.png'),\r
-('es',  'スペイン語',     'Spanish',    4,           'es.png'),\r
-('it',  'イタリア語',     'Italian',    5,           'it.png'),\r
-('pt',  'ポルトガル語',   'Portuguese', 6,           'pt.png'),\r
-('zh',  '中国語',         'Chinese',    7,           'cn.png'),\r
-('ko',  '韓国語',         'Korean',     8,           'kr.png'),\r
-('th',  'タイ語',         'Thai',       9,           'th.png'),\r
-('id',  'インドネシア語', 'Indonesian', 10,          'id.png'),\r
-('ru',  'ロシア語',       'Russian',    11,          'ru.png'),\r
-('ar',  'アラビア語',     'Arabic',     12,          'ae.png'),\r
-('zh-cn',  '中国語(簡体)',         'Chinese(Simplified)',    20,           'cn.png'),\r
-('zh-tw',  '中国語(繁体)',         'Chinese(Traditional)',    21,           'tw.png');\r
-\r
--- 汎用コンテンツ設定マスター\r
-DROP TABLE IF EXISTS content_config;\r
-CREATE TABLE content_config (\r
-    ng_type              VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- コンテンツタイプ\r
-    ng_id                VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ID(key)\r
-    ng_value             TEXT                                         NOT NULL,      -- 値\r
-    ng_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 名称\r
-    ng_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明\r
-    ng_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用\r
-    PRIMARY KEY          (ng_type,      ng_id)\r
-) TYPE=innodb;\r
-INSERT INTO content_config\r
-(ng_type,   ng_id,                  ng_value,    ng_name,                              ng_index) VALUES\r
-('',        'use_password',         '0',         'パスワードアクセス制御',                 1),\r
-('',        'password_content',         'このコンテンツはパスワードが必要です。<br />パスワードを入力してください。',         'パスワード画面コンテンツ',                 2);\r
diff --git a/include/sql/update/2012052101_to_2012053101.sql b/include/sql/update/2012052101_to_2012053101.sql
deleted file mode 100644 (file)
index 8aa3517..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012052101_to_2012053101.sql 4932 2012-06-05 09:04:28Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- メニュー定義マスター\r
-ALTER TABLE _menu_def MODIFY md_name     TEXT NOT NULL;       -- 名前\r
-\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content MODIFY cn_language_id       VARCHAR(5)     DEFAULT ''                    NOT NULL;      -- 言語ID\r
diff --git a/include/sql/update/2012053101_to_2012061901.sql b/include/sql/update/2012053101_to_2012061901.sql
deleted file mode 100644 (file)
index 21ff72e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012053101_to_2012061901.sql 4988 2012-06-21 21:56:59Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- ログインユーザマスター\r
-ALTER TABLE _login_user ADD lu_email            VARCHAR(40)    DEFAULT ''        NOT NULL;      -- Eメールアドレス\r
-ALTER TABLE _login_user ADD lu_skype_account            VARCHAR(40)    DEFAULT ''        NOT NULL;      -- Skypeアカウント\r
-\r
--- ウィジェット情報マスター\r
-ALTER TABLE _widgets ADD wd_edit_content           BOOLEAN        DEFAULT false                 NOT NULL;      -- 主要コンテンツ編集可能かどうか\r
-ALTER TABLE _widgets ADD wd_parent_id         VARCHAR(50)    DEFAULT ''                    NOT NULL;      -- 親ウィジェットID(ファイル名)\r
diff --git a/include/sql/update/2012061901_to_2012062801.sql b/include/sql/update/2012061901_to_2012062801.sql
deleted file mode 100644 (file)
index 621ebbe..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012061901_to_2012062801.sql 6134 2013-06-26 00:06:38Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- ダウンロード実行ログトラン\r
-ALTER TABLE _download_log MODIFY dl_content_type      VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- コンテンツ種別\r
-\r
--- 添付ファイルマスター\r
-DROP TABLE IF EXISTS _attach_file;\r
-CREATE TABLE _attach_file (\r
-    af_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号\r
-    af_content_type      VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- コンテンツ種別\r
-    af_content_id        VARCHAR(32)    DEFAULT ''                    NOT NULL,      -- コンテンツID\r
-    af_content_serial    INT            DEFAULT 0                     NOT NULL,      -- 対応コンテンツシリアル番号\r
-    af_index             INT            DEFAULT 0                     NOT NULL,      -- インデックス番号(0~)\r
-    af_client_id         CHAR(32)       DEFAULT ''                    NOT NULL,      -- クライアントID\r
-    \r
-    af_file_id           CHAR(32)       DEFAULT ''                    NOT NULL,      -- ファイル識別ID\r
-    af_filename          VARCHAR(256)   DEFAULT ''                    NOT NULL,      -- ダウンロード用ファイル名\r
-    af_title             VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- タイトル\r
-    af_desc              TEXT                                         NOT NULL,      -- 説明\r
-    af_file_type         VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ファイルタイプ\r
-    af_original_filename VARCHAR(256)   DEFAULT ''                    NOT NULL,      -- 元のファイル名\r
-    af_file_size         INT            DEFAULT 0                     NOT NULL,      -- ファイルサイズ(バイト)\r
-    af_file_dt           TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- ファイル作成日時\r
-    af_file_deleted_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- ファイル削除日時\r
-    af_file_deleted      BOOLEAN        DEFAULT false                 NOT NULL,      -- アップロードファイルの削除状態\r
-    af_upload_log_serial INT            DEFAULT 0                     NOT NULL,      -- アップロード時のアクセスログシリアル番号\r
-    PRIMARY KEY          (af_serial),\r
-    UNIQUE               (af_content_type,      af_content_id,        af_content_serial, af_index, af_client_id)\r
-) TYPE=innodb;\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content ADD cn_related_content     TEXT NOT NULL;       -- 関連コンテンツID(「,」区切り)\r
-ALTER TABLE content ADD cn_related_url     TEXT NOT NULL;       -- 関連URL(「;」区切り)\r
diff --git a/include/sql/update/2012062801_to_2012071501.sql b/include/sql/update/2012062801_to_2012071501.sql
deleted file mode 100644 (file)
index 037a65b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012062801_to_2012071501.sql 5049 2012-07-22 10:50:57Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- 添付ファイルマスター\r
-ALTER TABLE _attach_file ADD af_delete_log_serial INT            DEFAULT 0                     NOT NULL;      -- ファイル削除時のアクセスログシリアル番号\r
-\r
--- 汎用コンテンツ設定マスター\r
-INSERT INTO content_config\r
-(ng_type,   ng_id,                  ng_value,                              ng_name,                              ng_index) VALUES\r
-('',        'layout_view_detail',   '[#BODY#][#FILES#][#PAGES#][#LINKS#]', 'コンテンツレイアウト(詳細表示)',               1),\r
-('smartphone',        'layout_view_detail',   '[#BODY#][#FILES#][#PAGES#][#LINKS#]', 'コンテンツレイアウト(詳細表示)',               1);\r
-\r
--- *** システム標準テーブル ***\r
-\r
diff --git a/include/sql/update/2012071501_to_2012080601.sql b/include/sql/update/2012071501_to_2012080601.sql
deleted file mode 100644 (file)
index a27293b..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012071501_to_2012080601.sql 5097 2012-08-10 23:58:31Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-INSERT INTO _system_config \r
-(sc_id,                          sc_value,                  sc_name) VALUES\r
-('use_jquery',               '1',                       'フロント画面にjQueryを使用');\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content ADD cn_option_fields     TEXT                                         NOT NULL;      -- 追加フィールド\r
-\r
--- 汎用コンテンツ設定マスター\r
-INSERT INTO content_config\r
-(ng_type,      ng_id,              ng_value,                              ng_name,                              ng_index) VALUES\r
-('',           'output_head',      '0', 'HTMLヘッダ出力', 2),\r
-('',           'head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)',               3),\r
-('smartphone', 'output_head',      '0', 'HTMLヘッダ出力', 2),\r
-('smartphone', 'head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)',               3);\r
diff --git a/include/sql/update/2012080601_to_2012081301.sql b/include/sql/update/2012080601_to_2012081301.sql
deleted file mode 100644 (file)
index a9298f7..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012080601_to_2012081301.sql 5116 2012-08-18 08:58:12Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- システム設定マスター\r
-DELETE FROM _system_config WHERE sc_id = 'site_logo_filename';\r
-INSERT INTO _system_config \r
-(sc_id,                          sc_value,                  sc_name) VALUES\r
-('site_logo_filename', 'logo_72c.jpg;logo_200c.jpg',   'サイトロゴファイル名'),\r
-('thumb_format', '72c.jpg;200c.jpg',   'コンテンツ用サムネール仕様');\r
-\r
--- サイト定義マスター\r
-DELETE FROM _site_def WHERE sd_id = 'head_others';\r
-INSERT INTO _site_def\r
-(sd_id,                  sd_language_id, sd_value,         sd_name) VALUES\r
-('head_others',          'ja',           '<meta property="og:type" content="website" /><meta property="og:url" content="[#SITE_URL#]" /><meta property="og:image" content="[#SITE_IMAGE#]" /><meta property="og:title" content="[#SITE_NAME#]" /><meta property="og:description" content="[#SITE_DESCRIPTION#]" />',               'HTMLヘッダその他');\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content ADD cn_thumb_filename     TEXT                                         NOT NULL;      -- サムネールファイル名(「;」区切り)\r
-\r
--- ブログエントリー(記事)マスター\r
-ALTER TABLE blog_entry ADD be_thumb_filename     TEXT                                         NOT NULL;      -- サムネールファイル名(「;」区切り)\r
-\r
--- 汎用コンテンツ設定マスター\r
-DELETE FROM content_config WHERE ng_id = 'head_view_detail';\r
-INSERT INTO content_config\r
-(ng_type,      ng_id,              ng_value,                              ng_name,                              ng_index) VALUES\r
-('',           'head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)',               3),\r
-('smartphone', 'head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)',               3);\r
diff --git a/include/sql/update/2012081301_to_2012082201.sql b/include/sql/update/2012081301_to_2012082201.sql
deleted file mode 100644 (file)
index 74e486f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012081301_to_2012082201.sql 5149 2012-09-03 01:42:12Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- *** システム標準テーブル ***\r
-\r
--- ブログエントリー(記事)マスター\r
-ALTER TABLE blog_entry ADD be_related_content     TEXT NOT NULL;       -- 関連コンテンツID(「,」区切り)\r
-ALTER TABLE blog_entry ADD be_option_fields     TEXT                                         NOT NULL;      -- 追加フィールド\r
-\r
--- ブログ設定マスター\r
-INSERT INTO blog_config\r
-(bg_id,                     bg_value,    bg_name,                              bg_index) VALUES\r
-('layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)',               0),\r
-('layout_entry_list',   '[#TITLE#]<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#COMMENT_LINK#]', 'コンテンツレイアウト(記事一覧)',               0),\r
-('output_head',      '0', 'HTMLヘッダ出力', 0),\r
-('head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)',               0),\r
-('s:layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)',               0),\r
-('s:layout_entry_list',   '[#TITLE#]<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#COMMENT_LINK#]', 'コンテンツレイアウト(記事一覧)',               0),\r
-('s:output_head',      '0', 'HTMLヘッダ出力', 0),\r
-('s:head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)',               0);\r
-\r
-\r
diff --git a/include/sql/update/2012082201_to_2012090701.sql b/include/sql/update/2012082201_to_2012090701.sql
deleted file mode 100644 (file)
index 5c569ff..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012082201_to_2012090701.sql 5212 2012-09-16 03:53:02Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- システム設定マスター\r
-INSERT INTO _system_config \r
-(sc_id,                          sc_value,                  sc_name) VALUES\r
-('avatar_format',      '72c.jpg',   'アバター仕様');\r
-\r
--- *** システム標準テーブル ***\r
-\r
--- ブログ設定マスター\r
-INSERT INTO blog_config\r
-(bg_id,                     bg_value,    bg_name,                              bg_index) VALUES\r
-('entry_default_image',      '0_72c.jpg;0_200c.jpg', '記事デフォルト画像', 0),\r
-('comment_user_limited',      '0',       'コメントのユーザ制限',                 0);\r
-\r
--- 運用メッセージタイプマスター\r
-DELETE FROM _operation_type;\r
-INSERT INTO _operation_type\r
-(ot_id,          ot_name,                ot_description,                               ot_level, ot_sort_order) VALUES\r
-('info',         'システム情報',         'システム運用の正常な動作を示します',         0,        1),\r
-('request',      'システム操作要求',     'システムからの操作要求を示します',           1,        2),\r
-('warn',         'システム警告',         'システム運用の注意が必要な動作を示します',   2,        3),\r
-('error',        'システム通常エラー',   'システム運用の異常な動作を示します',         10,       4),\r
-('fatal',        'システム致命的エラー', 'システム運用の致命的に異常な動作を示します', 10,       5),\r
-('user_info',    'ユーザ操作',           'ユーザ操作の正常な動作を示します',           0,        6),\r
-('user_request', 'ユーザ操作要求',       'ユーザ操作からの操作要求を示します',         1,        7),\r
-('user_err',     'ユーザ操作エラー',     'ユーザ操作の異常な動作を示します',           10,       8),\r
-('user_access',  'ユーザ不正アクセス',   'ユーザ操作の不正なアクセスを示します',       10,       9),\r
-('user_data',    'ユーザ不正データ',     'ユーザ操作の不正なデータ送信を示します',     10,       10);\r
-\r
--- 運用ログトラン\r
-ALTER TABLE _operation_log ADD ol_link TEXT                                   NOT NULL;      -- リンク先\r
-\r
--- ログインユーザ情報マスター(共通的に任意で使用するユーザ情報テーブル)\r
-ALTER TABLE _login_user_info ADD li_profile TEXT                                   NOT NULL;      -- 自己紹介\r
diff --git a/include/sql/update/2012090701_to_2012091901.sql b/include/sql/update/2012090701_to_2012091901.sql
deleted file mode 100644 (file)
index 6e5f0f4..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012090701_to_2012091901.sql 5252 2012-09-29 14:10:42Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- ページIDマスター\r
-DELETE FROM _page_id WHERE pg_id = 'reguser' AND pg_type = 1;\r
-INSERT INTO _page_id \r
-(pg_id,         pg_type, pg_default_sub_id, pg_path,       pg_name,                         pg_description,                       pg_priority, pg_device_type, pg_active, pg_visible, pg_mobile, pg_editable, pg_admin_menu, pg_analytics) VALUES\r
-('reguser',     1,       '',                '',            'ユーザ登録',                    'ユーザ登録画面用',                 12,          0,              true,      true,      false,     true, false, false);\r
-\r
--- *** システム標準テーブル ***\r
--- ブログ設定マスター\r
-INSERT INTO blog_config\r
-(bg_id,                   bg_value,    bg_name,                              bg_index) VALUES\r
-('layout_comment_list',   '[#AVATAR#]<dl><dt>[#TITLE#] <small>[#CM_AUTHOR#] [#CM_DATE#] [#CM_TIME#] [#URL#]</small></dt><dd>[#BODY#]</dd></dl>', 'コンテンツレイアウト(コメント一覧)',               0),\r
-('s:layout_comment_list', '[#AVATAR#]<dl><dt>[#TITLE#] <small>[#CM_AUTHOR#] [#CM_DATE#] [#CM_TIME#] [#URL#]</small></dt><dd>[#BODY#]</dd></dl>', 'コンテンツレイアウト(コメント一覧)',               0);
\ No newline at end of file
diff --git a/include/sql/update/2012091901_to_2012100101.sql b/include/sql/update/2012091901_to_2012100101.sql
deleted file mode 100644 (file)
index ccf12bf..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012091901_to_2012100101.sql 5262 2012-10-03 02:30:25Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
-\r
--- *** システム標準テーブル ***\r
--- ブログIDマスター\r
-ALTER TABLE blog_id ADD bl_limited_user_id      TEXT NOT NULL;      -- 参照可能ユーザ(,区切り)
\ No newline at end of file
diff --git a/include/sql/update/2012100101_to_2012100901.sql b/include/sql/update/2012100101_to_2012100901.sql
deleted file mode 100644 (file)
index abd2826..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012100101_to_2012100901.sql 5276 2012-10-11 07:36:37Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- ログインユーザマスター\r
-ALTER TABLE _login_user ADD lu_tmp_password          CHAR(32)       DEFAULT ''                    NOT NULL;      -- 仮パスワード(MD5)\r
-\r
--- メール内容\r
-DELETE FROM _mail_form WHERE mf_id = 'send_tmp_password';\r
-INSERT INTO _mail_form (mf_id,           mf_language_id, mf_subject,         mf_content,                                                                 mf_create_dt) \r
-VALUES                 ('send_tmp_password', 'ja',           '仮パスワード送信', '仮パスワードを送信します。\nこのパスワードでログインし、パスワードを再設定してください。\n\nパスワード [#PASSWORD#]',                               now());\r
-\r
--- *** システム標準テーブル ***\r
diff --git a/include/sql/update/2012100901_to_2012102501.sql b/include/sql/update/2012100901_to_2012102501.sql
deleted file mode 100644 (file)
index 1c4ae5d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012100901_to_2012102501.sql 5803 2013-03-07 11:09:50Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- メニューIDマスター\r
-ALTER TABLE _menu_id ADD mn_widget_id         VARCHAR(50)    DEFAULT ''                    NOT NULL;      -- ウィジェットID(ファイル名)\r
-\r
--- メニュー定義マスター\r
-ALTER TABLE _menu_def ADD md_param             TEXT                                         NOT NULL;      -- その他パラメータ\r
-\r
--- メニューIDマスター\r
-DELETE FROM _menu_id WHERE mn_id = 'ec_menu';\r
-INSERT INTO _menu_id\r
-(mn_id,         mn_name,          mn_description, mn_device_type, mn_widget_id, mn_sort_order) VALUES\r
-('ec_menu',   'EC用メニュー(PC用)', '「ec_menu」ウィジェット専用のメニュー',             0,   'ec_menu',           10);\r
-\r
--- *** システム標準テーブル ***\r
diff --git a/include/sql/update/2012102501_to_2012110501.sql b/include/sql/update/2012102501_to_2012110501.sql
deleted file mode 100644 (file)
index c40f81e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012102501_to_2012110501.sql 5446 2012-12-08 16:08:51Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- 定型メールフォーム\r
-ALTER TABLE _mail_form DROP INDEX mf_id;-- ALTER TABLE _mail_form DROP CONSTRAINT _mail_form_mf_id_mf_history_index_key; -- ユニーク制約削除\r
-ALTER TABLE _mail_form ADD UNIQUE (mf_id,       mf_language_id,               mf_history_index); -- ユニーク制約再設定\r
-\r
--- *** システム標準テーブル ***\r
diff --git a/include/sql/update/2012110501_to_2012111401.sql b/include/sql/update/2012110501_to_2012111401.sql
deleted file mode 100644 (file)
index 1ff0e80..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012110501_to_2012111401.sql 5409 2012-11-24 10:10:14Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- メニュー定義マスター\r
-ALTER TABLE _menu_def ADD md_title             TEXT                                         NOT NULL;      -- タイトル(HTMLタグ可)\r
-\r
--- テンプレート情報\r
-DELETE FROM _templates WHERE tm_id = '_layout';\r
-INSERT INTO _templates\r
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_available, tm_clean_type, tm_create_dt) VALUES\r
-('_layout',                       '_layout',                       1,       0,              false,     false,        0,             now());\r
-\r
--- *** システム標準テーブル ***\r
--- 商品カテゴリマスター\r
-ALTER TABLE product_category MODIFY pc_name              VARCHAR(60)    DEFAULT ''                    NOT NULL;      -- 商品カテゴリ名称\r
-\r
--- Eコマース設定マスター\r
-INSERT INTO commerce_config\r
-(cg_id,                    cg_value, cg_name,                        cg_index) VALUES\r
-('hierarchical_category',  '1',      '階層化商品カテゴリー',         17);
\ No newline at end of file
diff --git a/include/sql/update/2012111401_to_2012112601.sql b/include/sql/update/2012111401_to_2012112601.sql
deleted file mode 100644 (file)
index 350a3b2..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012111401_to_2012112601.sql 5532 2013-01-09 13:13:02Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- 多言語対応文字列マスター\r
-ALTER TABLE _language_string DROP PRIMARY KEY;-- ALTER TABLE _language_string DROP CONSTRAINT _language_string_pkey; -- ユニーク制約削除\r
-ALTER TABLE _language_string ADD ls_type         SMALLINT       DEFAULT 0                     NOT NULL;      -- 文字列(0=メッセージ,1=共通用語,2=コンテンツ種別,10=Joomla!用)\r
-ALTER TABLE _language_string ADD PRIMARY KEY (ls_type,    ls_id,        ls_language_id); -- ユニーク制約再設定\r
-\r
-INSERT INTO _language_string\r
-(ls_type, ls_id,                     ls_language_id, ls_value,                             ls_name) VALUES\r
-(1,       'word_account',         'ja',           'ID(Eメール)',                 'アカウント');\r
-\r
--- *** システム標準テーブル ***\r
-\r
diff --git a/include/sql/update/2012112601_to_2012120801.sql b/include/sql/update/2012112601_to_2012120801.sql
deleted file mode 100644 (file)
index 5d410bf..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012112601_to_2012120801.sql 5604 2013-02-06 15:22:36Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- インナーウィジェット(配送方法)\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'flatrate';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,      iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_license_type, iw_official_level, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'flatrate', '定額', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,      10,                now(),         now());\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'classrate';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_license_type, iw_official_level, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'classrate', '購入額基準', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,      10,                now(),         now());\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'staterate';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_license_type, iw_official_level, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'staterate', '送付先基準', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,      10,                now(),         now());\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'quantityrate';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_license_type, iw_official_level, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'quantityrate', '商品数基準', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,      10,                now(),         now());\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'productrate';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_license_type, iw_official_level, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'productrate', '商品別規定', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,      10,                now(),         now());\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'weightrate';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,       iw_name,    iw_type,    iw_author,      iw_copyright, iw_license, iw_license_type, iw_official_level, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'weightrate', '送付先+重量基準', 'DELIVERY', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,      10,                now(),         now());\r
--- インナーウィジェット(支払方法)\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'epsilon';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,     iw_name,          iw_type,    iw_author,      iw_copyright, iw_license,               iw_license_type, iw_official_level, iw_online, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'epsilon', 'イプシロン決済', 'PAYMENT', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,               10,                true,      now(),         now());\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'exchange_classrate';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,     iw_name,          iw_type,    iw_author,      iw_copyright, iw_license,               iw_license_type, iw_official_level, iw_online, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'exchange_classrate', '代金引換(購入額基準)', 'PAYMENT', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,               10,                false,      now(),         now());\r
--- インナーウィジェット(注文計算)\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'lotbuying';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,       iw_name,          iw_type,     iw_author,      iw_copyright, iw_license,               iw_license_type, iw_official_level, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'lotbuying', 'まとめ買い割引', 'CALCORDER', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,               10,                now(),         now());\r
-DELETE FROM _iwidgets WHERE iw_widget_id = 'ec_main' AND iw_id = 'product_lotbuying';\r
-INSERT INTO _iwidgets\r
-(iw_widget_id, iw_id,               iw_name,                iw_type,     iw_author,      iw_copyright, iw_license,                iw_license_type, iw_official_level, iw_install_dt, iw_create_dt) VALUES\r
-('ec_main', 'product_lotbuying', '商品別まとめ買い割引', 'CALCORDER', 'Naoki Hirata', 'Magic3.org', 'GPL', 0,               10,                now(),         now());\r
-\r
--- メール内容\r
-DELETE FROM _mail_form WHERE mf_id = 'order_product_to_shop_manager';\r
-INSERT INTO _mail_form (mf_id,           mf_language_id, mf_subject,         mf_content,                                                                 mf_create_dt) \r
-VALUES                 ('order_product_to_shop_manager', 'ja',           '商品受注',         '■受注コード:[#ORDER_NO#]■\n■受注日付:[#DATE#]■\n■会員コード:[#MEMBER_NO#]■\n■会員名:[#NAME#]■\n■会員Eメール:[#EMAIL#]■\n■管理画面URL:[#ADMIN_URL#]■\n■届先名:[#DELIV_NAME#]■\n■届先郵便番号:[#ZIPCODE#]■\n■届先都道府県:[#STATE#]■\n■届先住所1:[#ADDRESS1#]■\n■届先住所2:[#ADDRESS2#]■\n■届先電話番号:[#PHONE#]■\n■配達希望日:[#DEMAND_DATE#]■\n■配達時間帯:[#DEMAND_TIME#]■\n[#BODY#]■配送方法:[#DELIV_METHOD#]■\n■決済方法:[#PAY_METHOD#]■\n■備考:[#NOTE#]■\n\n**********\nお届け先\n**********\n[#DELIV_TEXT#]\n**********\n注文内容\n**********\n[#ORDER_TEXT#]\n', now());\r
-DELETE FROM _mail_form WHERE mf_id = 'order_product_to_customer';\r
-INSERT INTO _mail_form (mf_id,           mf_language_id, mf_subject,         mf_content,                                                                 mf_create_dt) \r
-VALUES                 ('order_product_to_customer', 'ja',           'ご注文の確認(自動送信)',         '[#NAME#] 様\n\nこの度は[#SHOP_NAME#]をご利用頂きまして誠にありがとうございます。\n下記の通りご注文を承りましたのでご確認ください。\n\n**********\nお届け先\n**********\n[#DELIV_TEXT#]\n**********\n注文内容\n**********\n[#ORDER_TEXT#]\n\n[#SIGNATURE#]', now());\r
-\r
--- *** システム標準テーブル ***\r
--- 支払い方法マスター\r
-TRUNCATE TABLE pay_method_def;\r
-INSERT INTO pay_method_def (po_id, po_language_id, po_name, po_index) VALUES ('payment_service',  'ja', '決済サービス', 1);\r
-\r
--- フォトギャラリー設定マスター(Eコマース追加分)\r
-INSERT INTO photo_config\r
-(hg_id,               hg_value,           hg_name,                                  hg_index) VALUES\r
-('online_shop',       '0',                'オンラインショップ機能',                 13),\r
-('auto_stock',        '1',                '在庫自動処理',                           14),\r
-('accept_order',      '1',                '注文の受付',                             15),\r
-('use_email',         '1',                'メール送信機能',                         16),\r
-('shop_email',        '',                 'ショップ宛てメールアドレス',             17),\r
-('auto_email_sender', '',                 '自動送信メール送信元アドレス',           18),\r
-('use_member_address', '1',               '会員登録の住所使用',                     19),\r
-('auto_regist_member', '1',               '自動会員登録',                           20),\r
-('sell_product_photo', '0',               'フォト商品販売',                         21),\r
-('sell_product_download', '0',            'ダウンロード商品販売',                   22),\r
-('member_notice', '',                     '会員向けお知らせ',                       23),\r
-('email_to_order_product', '',            '商品受注時メール送信先',                 24);\r
-\r
--- 商品タイプマスター\r
-INSERT INTO product_type\r
-(py_product_class, py_id,      py_language_id, py_name,            py_code, py_description, py_index, py_single_select) VALUES \r
-('',               '',         'ja',           '標準商品',         'ST',    '',             1,             false),\r
-('photo',          '',         'ja',           '標準商品',         'ST',    '',             1,             false),\r
-('photo',          'download', 'ja',           'ダウンロード画像', 'DL',    '',             2,             true);\r
-\r
--- 商品クラスマスター\r
-INSERT INTO product_class\r
-(pu_id,   pu_language_id, pu_name,                pu_index) VALUES \r
-('',      'ja',           '一般商品',             1),\r
-('photo', 'ja',           'フォトギャラリー商品', 2);\r
-\r
-\r
diff --git a/include/sql/update/2012120801_to_2012121101.sql b/include/sql/update/2012120801_to_2012121101.sql
deleted file mode 100644 (file)
index 2f57fa4..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012120801_to_2012121101.sql 5471 2012-12-13 14:26:27Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- メニュー定義マスター\r
-ALTER TABLE _menu_def ADD md_user_limited      BOOLEAN        DEFAULT false                 NOT NULL;      -- アクセス可能ユーザを制限\r
-\r
--- ページ定義マスター\r
-ALTER TABLE _page_def MODIFY pd_suffix            VARCHAR(10)     DEFAULT ''                    NOT NULL;      -- インスタンスを区別するためのサフィックス文字列\r
-\r
--- *** システム標準テーブル ***\r
-\r
diff --git a/include/sql/update/2012121101_to_2013010901.sql b/include/sql/update/2012121101_to_2013010901.sql
deleted file mode 100644 (file)
index 3f326f8..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2012121101_to_2013010901.sql 5549 2013-01-14 12:34:27Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content ADD cn_regist_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- 登録日時\r
-\r
--- 多言語対応文字列マスター\r
-DELETE FROM _language_string WHERE ls_type = 10;\r
-INSERT INTO _language_string\r
-(ls_type, ls_id,                           ls_language_id, ls_value,             ls_description) VALUES\r
-(10,      'COM_CONTENT_CREATED_DATE_ON',   'ja',           '作成日:%s',         ''),\r
-(10,      'COM_CONTENT_LAST_UPDATED',      'ja',           '更新日:%s',         ''),\r
-(10,      'COM_CONTENT_PUBLISHED_DATE_ON', 'ja',           '公開日:%s',         ''),\r
-(10,      'COM_CONTENT_WRITTEN_BY',        'ja',           '作者:%s',           ''),\r
-(10,      'COM_CONTENT_CATEGORY',          'ja',           'カテゴリー:%s',     ''),\r
-(10,      'COM_CONTENT_ARTICLE_HITS',      'ja',           'アクセス数:%s',     ''),\r
-(10,      'COM_CONTENT_READ_MORE_TITLE',   'ja',           'もっと読む',         ''),\r
-(10,      'DATE_FORMAT_LC',                'ja',           'Y年Fd日(l)',       ''),\r
-(10,      'DATE_FORMAT_LC1',               'ja',           'Y年Fd日(l)',       ''),\r
-(10,      'DATE_FORMAT_LC2',               'ja',           'Y年Fd日(l)H:i',    ''),\r
-(10,      'DATE_FORMAT_LC3',               'ja',           'Y年Fd日',            ''),\r
-(10,      'DATE_FORMAT_LC4',               'ja',           'Y-m-d',              ''),\r
-(10,      'DATE_FORMAT_JS1',               'ja',           'y-m-d',              ''),\r
-(10,      'JANUARY_SHORT',                 'ja',           '1月',                ''),\r
-(10,      'JANUARY',                       'ja',           '1月',                ''),\r
-(10,      'FEBRUARY_SHORT',                'ja',           '2月',                ''),\r
-(10,      'FEBRUARY',                      'ja',           '2月',                ''),\r
-(10,      'MARCH_SHORT',                   'ja',           '3月',                ''),\r
-(10,      'MARCH',                         'ja',           '3月',                ''),\r
-(10,      'APRIL_SHORT',                   'ja',           '4月',                ''),\r
-(10,      'APRIL',                         'ja',           '4月',                ''),\r
-(10,      'MAY_SHORT',                     'ja',           '5月',                ''),\r
-(10,      'MAY',                           'ja',           '5月',                ''),\r
-(10,      'JUNE_SHORT',                    'ja',           '6月',                ''),\r
-(10,      'JUNE',                          'ja',           '6月',                ''),\r
-(10,      'JULY_SHORT',                    'ja',           '7月',                ''),\r
-(10,      'JULY',                          'ja',           '7月',                ''),\r
-(10,      'AUGUST_SHORT',                  'ja',           '8月',                ''),\r
-(10,      'AUGUST',                        'ja',           '8月',                ''),\r
-(10,      'SEPTEMBER_SHORT',               'ja',           '9月',                ''),\r
-(10,      'SEPTEMBER',                     'ja',           '9月',                ''),\r
-(10,      'OCTOBER_SHORT',                 'ja',           '10月',               ''),\r
-(10,      'OCTOBER',                       'ja',           '10月',               ''),\r
-(10,      'NOVEMBER_SHORT',                'ja',           '11月',               ''),\r
-(10,      'NOVEMBER',                      'ja',           '11月',               ''),\r
-(10,      'DECEMBER_SHORT',                'ja',           '12月',               ''),\r
-(10,      'DECEMBER',                      'ja',           '12月',               ''),\r
-(10,      'SUN',                           'ja',           '日',                 ''),\r
-(10,      'SUNDAY',                        'ja',           '日曜',               ''),\r
-(10,      'MON',                           'ja',           '月',                 ''),\r
-(10,      'MONDAY',                        'ja',           '月曜',               ''),\r
-(10,      'TUE',                           'ja',           '火',                 ''),\r
-(10,      'TUESDAY',                       'ja',           '火曜',               ''),\r
-(10,      'WED',                           'ja',           '水',                 ''),\r
-(10,      'WEDNESDAY',                     'ja',           '水曜',               ''),\r
-(10,      'THU',                           'ja',           '木',                 ''),\r
-(10,      'THURSDAY',                      'ja',           '木曜',               ''),\r
-(10,      'FRI',                           'ja',           '金',                 ''),\r
-(10,      'FRIDAY',                        'ja',           '金曜',               ''),\r
-(10,      'SAT',                           'ja',           '土',                 ''),\r
-(10,      'SATURDAY',                      'ja',           '土曜',               ''),\r
-(10,      'LAST_UPDATED2',                 'ja',           '更新日 %s',          '旧バージョン互換用'),\r
-(10,      'COM_CONTENT_CREATED_DATE_ON',   'en',           'Created: %s',        ''),\r
-(10,      'COM_CONTENT_LAST_UPDATED',      'en',           'Last Updated: %s',   ''),\r
-(10,      'COM_CONTENT_PUBLISHED_DATE_ON', 'en',           'Published: %s',      ''),\r
-(10,      'COM_CONTENT_WRITTEN_BY',        'en',           'Written by %s',      ''),\r
-(10,      'COM_CONTENT_CATEGORY',          'en',           'Category: %s',       ''),\r
-(10,      'COM_CONTENT_ARTICLE_HITS',      'en',           'Hits: %s',           ''),\r
-(10,      'COM_CONTENT_READ_MORE_TITLE',   'en',           'Read more...',       ''),\r
-(10,      'DATE_FORMAT_LC',                'en',           'l, d F Y',           ''),\r
-(10,      'DATE_FORMAT_LC1',               'en',           'l, d F Y',           ''),\r
-(10,      'DATE_FORMAT_LC2',               'en',           'l, d F Y H:i',       ''),\r
-(10,      'DATE_FORMAT_LC3',               'en',           'd F Y',              ''),\r
-(10,      'DATE_FORMAT_LC4',               'en',           'Y-m-d',              ''),\r
-(10,      'DATE_FORMAT_JS1',               'en',           'y-m-d',              ''),\r
-(10,      'JANUARY_SHORT',                 'en',           'Jan',                ''),\r
-(10,      'JANUARY',                       'en',           'January',            ''),\r
-(10,      'FEBRUARY_SHORT',                'en',           'Feb',                ''),\r
-(10,      'FEBRUARY',                      'en',           'February',           ''),\r
-(10,      'MARCH_SHORT',                   'en',           'Mar',                ''),\r
-(10,      'MARCH',                         'en',           'March',              ''),\r
-(10,      'APRIL_SHORT',                   'en',           'Apr',                ''),\r
-(10,      'APRIL',                         'en',           'April',              ''),\r
-(10,      'MAY_SHORT',                     'en',           'May',                ''),\r
-(10,      'MAY',                           'en',           'May',                ''),\r
-(10,      'JUNE_SHORT',                    'en',           'Jun',                ''),\r
-(10,      'JUNE',                          'en',           'June',               ''),\r
-(10,      'JULY_SHORT',                    'en',           'Jul',                ''),\r
-(10,      'JULY',                          'en',           'July',               ''),\r
-(10,      'AUGUST_SHORT',                  'en',           'Aug',                ''),\r
-(10,      'AUGUST',                        'en',           'August',             ''),\r
-(10,      'SEPTEMBER_SHORT',               'en',           'Sep',                ''),\r
-(10,      'SEPTEMBER',                     'en',           'September',          ''),\r
-(10,      'OCTOBER_SHORT',                 'en',           'Oct',                ''),\r
-(10,      'OCTOBER',                       'en',           'October',            ''),\r
-(10,      'NOVEMBER_SHORT',                'en',           'Nov',                ''),\r
-(10,      'NOVEMBER',                      'en',           'November',           ''),\r
-(10,      'DECEMBER_SHORT',                'en',           'Dec',                ''),\r
-(10,      'DECEMBER',                      'en',           'December',           ''),\r
-(10,      'SUN',                           'en',           'Sun',                ''),\r
-(10,      'SUNDAY',                        'en',           'Sunday',             ''),\r
-(10,      'MON',                           'en',           'Mon',                ''),\r
-(10,      'MONDAY',                        'en',           'Monday',             ''),\r
-(10,      'TUE',                           'en',           'Tue',                ''),\r
-(10,      'TUESDAY',                       'en',           'Tuesday',            ''),\r
-(10,      'WED',                           'en',           'Wed',                ''),\r
-(10,      'WEDNESDAY',                     'en',           'Wednesday',          ''),\r
-(10,      'THU',                           'en',           'Thu',                ''),\r
-(10,      'THURSDAY',                      'en',           'Thursday',           ''),\r
-(10,      'FRI',                           'en',           'Fri',                ''),\r
-(10,      'FRIDAY',                        'en',           'Friday',             ''),\r
-(10,      'SAT',                           'en',           'Sat',                ''),\r
-(10,      'SATURDAY',                      'en',           'Saturday',           ''),\r
-(10,      'LAST_UPDATED2',                 'en',           'Last Updated on %s', '旧バージョン互換用');\r
-\r
-\r
--- *** システム標準テーブル ***\r
-\r
diff --git a/include/sql/update/2013010901_to_2013012701.sql b/include/sql/update/2013010901_to_2013012701.sql
deleted file mode 100644 (file)
index 2f7359d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013010901_to_2013012701.sql 5584 2013-01-28 09:34:59Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- システム設定マスター\r
-INSERT INTO _system_config \r
-(sc_id,                          sc_value,            sc_name) VALUES\r
-('jquery_version',               '1.8',               'jQueryバージョン(PC用)'),\r
-('admin_jquery_version',         '1.6',               '管理画面用jQueryバージョン'),\r
-('s:jquery_version',             '1.8',               'jQueryバージョン(スマートフォン用)');\r
-\r
--- *** システム標準テーブル ***\r
-\r
diff --git a/include/sql/update/2013012701_to_2013020401.sql b/include/sql/update/2013012701_to_2013020401.sql
deleted file mode 100644 (file)
index f249202..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013012701_to_2013020401.sql 5619 2013-02-07 23:49:39Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
-\r
--- *** システム標準テーブル ***\r
--- フォトギャラリー設定マスター\r
-INSERT INTO photo_config\r
-(hg_id,               hg_value,           hg_name,                                  hg_index) VALUES\r
-('html_photo_description',  '0',                'HTML形式の画像情報(説明)',         0),\r
-('use_photo_date',        '1',                '画像情報(撮影日)を使用',         0),\r
-('use_photo_location',       '1',                '画像情報(撮影場所)を使用',         0),\r
-('use_photo_camera',      '1',                '画像情報(カメラ)を使用',         0),\r
-('use_photo_description', '1',                '画像情報(説明)を使用',         0),\r
-('use_photo_keyword',     '1',                '画像情報(検索キーワード)を使用',         0),\r
-('use_photo_category',    '1',                '画像情報(カテゴリー)を使用',         0),\r
-('use_photo_rate',    '1',                '画像情報(評価)を使用',         0),\r
-('layout_view_detail',   '<table class="photo_info"><caption>画像情報</caption><tbody><tr><th>ID</th><td>[#CT_ID#]</td></tr><tr><th>タイトル</th><td>[#CT_TITLE#]&nbsp;[#PERMALINK#]</td></tr><tr><th>撮影者</th><td>[#CT_AUTHOR#]</td></tr><tr><th>撮影日</th><td>[#CT_DATE#]</td></tr><tr><th>場所</th><td>[#CT_LOCATION#]</td></tr><tr><th>カメラ</th><td>[#CT_CAMERA#]</td></tr><tr><th>説明</th><td>[#CT_DESCRIPTION#]</td></tr><tr><th>カテゴリー</th><td>[#CT_CATEGORY#]</td></tr><tr><th>キーワード</th><td>[#CT_KEYWORD#]</td></tr><tr><th>評価</th><td>[#RATE#]</td></tr></tbody></table>', 'レイアウト(詳細表示)',               0);\r
-\r
--- 写真情報マスター\r
-ALTER TABLE photo ADD ht_description              TEXT                                         NOT NULL;      -- 画像説明\r
-\r
--- 画像評価トラン\r
-ALTER TABLE photo_rate ADD hr_client_id         CHAR(32)       DEFAULT ''                    NOT NULL;      -- クライアントID
\ No newline at end of file
diff --git a/include/sql/update/2013020401_to_2013020801.sql b/include/sql/update/2013020401_to_2013020801.sql
deleted file mode 100644 (file)
index 0fcff48..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2012 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013020401_to_2013020801.sql 5640 2013-02-11 21:52:48Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-INSERT INTO _system_config \r
-(sc_id,                          sc_value,                  sc_name) VALUES\r
-('ogp_thumb_format', '200c.jpg',   'OGP用サムネール仕様'),\r
-('wysiwyg_editor', 'fckeditor',   'WYSIWYGエディター');\r
-\r
--- *** システム標準テーブル ***\r
--- フォトギャラリー設定マスター\r
-INSERT INTO photo_config\r
-(hg_id,               hg_value,           hg_name,                                  hg_index) VALUES\r
-('output_head',      '0', 'HTMLヘッダ出力', 0),\r
-('head_view_detail',   '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_SUMMARY#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'ヘッダ出力(詳細表示)',               0);\r
-\r
--- 写真情報マスター\r
-ALTER TABLE photo ADD ht_summary              VARCHAR(100)   DEFAULT ''                    NOT NULL;      -- 画像概要\r
-ALTER TABLE photo ADD ht_thumb_filename     TEXT                                         NOT NULL;      -- サムネールファイル名(「;」区切り)
\ No newline at end of file
diff --git a/include/sql/update/2013020801_to_2013021801.sql b/include/sql/update/2013020801_to_2013021801.sql
deleted file mode 100644 (file)
index 7450078..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013020801_to_2013021801.sql 5828 2013-03-15 07:33:34Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- テンプレート情報\r
-DELETE FROM _templates WHERE tm_id = '_admin3';\r
-INSERT INTO _templates\r
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_available, tm_clean_type, tm_create_dt) VALUES\r
-('_admin3',                       '_admin3',                       2,       0,              false,     false,        0,             now());\r
-\r
--- 多言語対応文字列マスター\r
-INSERT INTO _language_string\r
-(ls_id,                     ls_language_id, ls_value,                             ls_name) VALUES\r
-('msg_page_not_found',         'ja',           'ページが見つかりません',                 '存在しないページメッセージ');\r
-\r
--- システム設定マスター(管理画面用デフォルトテンプレートを変更)\r
-UPDATE _system_config SET sc_value = '_admin3' WHERE sc_id = 'admin_default_template';\r
-UPDATE _system_config SET sc_value = '1.8' WHERE sc_id = 'admin_jquery_version';\r
-INSERT INTO _system_config \r
-(sc_id,                          sc_value,                  sc_name) VALUES\r
-('site_mobile_url',       '',                        '携帯用サイトURL'),\r
-('site_smartphone_url',   '',                        'スマートフォン用サイトURL'),\r
-('multi_domain',               '0',                       'マルチドメイン運用');\r
--- *** システム標準テーブル ***\r
diff --git a/include/sql/update/2013021801_to_2013022601.sql b/include/sql/update/2013021801_to_2013022601.sql
deleted file mode 100644 (file)
index 93060db..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013021801_to_2013022601.sql 5756 2013-02-28 13:57:25Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content ADD cn_script_lib    TEXT                                         NOT NULL;      -- 共通スクリプトライブラリ(ライブラリ名で指定、「,」区切りで複数指定可)\r
-ALTER TABLE content ADD cn_script        TEXT                                         NOT NULL;      -- Javascriptスクリプト\r
-\r
--- 汎用コンテンツ設定マスター\r
-INSERT INTO content_config\r
-(ng_type,      ng_id,              ng_value,                              ng_name,                              ng_index) VALUES\r
-('',           'use_jquery',      '0', 'jQueryスクリプト作成', 0),\r
-('smartphone', 'use_jquery',      '0', 'jQueryスクリプト作成', 0);\r
diff --git a/include/sql/update/2013022601_to_2013031701.sql b/include/sql/update/2013022601_to_2013031701.sql
deleted file mode 100644 (file)
index e845888..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013022601_to_2013031701.sql 5855 2013-03-24 10:26:56Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- 自動ログインマスター\r
-DROP TABLE IF EXISTS _auto_login;\r
-CREATE TABLE _auto_login (\r
-    ag_id                CHAR(32)       DEFAULT ''                    NOT NULL,      -- 自動ログインキー\r
-    ag_user_id           INT            DEFAULT 0                     NOT NULL,      -- ログインユーザID\r
-    ag_client_id         VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- PCの場合はアクセス管理用クッキー値。携帯の場合は端末ID「XX-xxxxxx」(XX=キャリアDC,AU,SB、xxxxxx=端末ID)。\r
-    ag_index             INT            DEFAULT 0                     NOT NULL,      -- インデックス番号(0~)\r
-\r
-    ag_path              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- アクセスポイントパス\r
-    ag_expire_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 有効期限\r
-    ag_access_log_serial INT            DEFAULT 0                     NOT NULL,      -- 登録時アクセスログシリアル番号\r
-\r
-    ag_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者\r
-    ag_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時\r
-    ag_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者\r
-    ag_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時\r
-    ag_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態\r
-    PRIMARY KEY          (ag_id),\r
-    UNIQUE               (ag_user_id,   ag_client_id, ag_index)\r
-) TYPE=innodb;\r
-\r
--- オプションコンテンツパラメータマスター\r
-DROP TABLE IF EXISTS _option_content_param;\r
-CREATE TABLE _option_content_param (\r
-    oc_page_id           VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- ページID\r
-    oc_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- URLパラメータ\r
-\r
-    oc_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- コンテンツ名称\r
-    oc_widget_id         VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 実行ウィジェットID(ファイル名)\r
-    oc_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート順\r
-    PRIMARY KEY          (oc_page_id,   oc_id)\r
-) TYPE=innodb;\r
-\r
--- ログインユーザマスター\r
-ALTER TABLE _login_user ADD lu_default_admin_url            TEXT                                         NOT NULL;      -- デフォルトの管理画面のURL(「?」以降)\r
-\r
--- ウィジェット情報マスター\r
-ALTER TABLE _widgets ADD wd_content_name         TEXT                                         NOT NULL;      -- コンテンツ名称(メニュー表示用)\r
-\r
--- システム設定マスター\r
--- システムの動作に影響する設定を管理する\r
-INSERT INTO _system_config \r
-(sc_id,               sc_value,                  sc_name) VALUES\r
-('auto_login',        '1',                        'フロント画面自動ログイン機能'),\r
-('auto_login_admin',        '0',                        '管理画面自動ログイン機能');\r
-\r
--- *** システム標準テーブル ***\r
-\r
diff --git a/include/sql/update/2013031701_to_2013033001.sql b/include/sql/update/2013031701_to_2013033001.sql
deleted file mode 100644 (file)
index 26ca77f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013031701_to_2013033001.sql 5890 2013-04-01 03:21:36Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- システム設定マスター\r
--- システムの動作に影響する設定を管理する\r
-INSERT INTO _system_config \r
-(sc_id,               sc_value,                  sc_name) VALUES\r
-('default_theme',         'black-tie',                'フロント画面用jQueryUIテーマ');\r
-\r
--- *** システム標準テーブル ***\r
-\r
diff --git a/include/sql/update/2013033001_to_2013040101.sql b/include/sql/update/2013033001_to_2013040101.sql
deleted file mode 100644 (file)
index 1df1ed7..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013033001_to_2013040101.sql 5912 2013-04-07 07:42:11Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コンテンツ設定マスター\r
-INSERT INTO content_config\r
-(ng_type,      ng_id,              ng_value,                              ng_name,                              ng_index) VALUES\r
-('',           'use_content_template',      '0', 'コンテンツ単位のテンプレート設定', 0);\r
-\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content ADD cn_template_id       VARCHAR(50)    DEFAULT ''                    NOT NULL;      -- テンプレートID\r
-\r
--- 追加クラスマスター\r
-INSERT INTO _addons\r
-(ao_id,     ao_class_name, ao_name,            ao_description) VALUES\r
-('contentlib', 'contentLib',     '汎用コンテンツライブラリ', '');
\ No newline at end of file
diff --git a/include/sql/update/2013040101_to_2013042801.sql b/include/sql/update/2013040101_to_2013042801.sql
deleted file mode 100644 (file)
index 8e150b3..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013040101_to_2013042801.sql 6022 2013-05-20 04:28:13Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-DELETE FROM _system_config WHERE sc_id = 'wysiwyg_editor';\r
-INSERT INTO _system_config \r
-(sc_id,                          sc_value,                  sc_name) VALUES\r
-('wysiwyg_editor', 'ckeditor',   'WYSIWYGエディター');\r
-\r
--- *** システム標準テーブル ***\r
--- *** システム標準テーブル ***\r
--- 汎用コンテンツマスター\r
-ALTER TABLE content ADD cn_search_content     TEXT NOT NULL;       -- 検索用コンテンツ\r
-\r
diff --git a/include/sql/update/2013042801_to_2013061301.sql b/include/sql/update/2013042801_to_2013061301.sql
deleted file mode 100644 (file)
index 5d2fd61..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013042801_to_2013061301.sql 6102 2013-06-13 05:48:19Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- システム設定マスター\r
-UPDATE _system_config SET sc_value = '80c.jpg' WHERE sc_id = 'avatar_format';\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コメント設定マスター\r
-DROP TABLE IF EXISTS comment_config;\r
-CREATE TABLE comment_config (\r
-    cf_content_type      VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- コンテンツ種別\r
-    cf_contents_id       VARCHAR(32)    DEFAULT ''                    NOT NULL,      -- コンテンツID(空の場合は共通)\r
-    \r
-    cf_view_type         INT            DEFAULT 0                     NOT NULL,      -- コメントタイプ(0=フラット,1=ツリー)\r
-    cf_view_direction    INT            DEFAULT 0                     NOT NULL,      -- 表示方向(0=昇順、1=降順)\r
-    cf_max_count         INT            DEFAULT 0                     NOT NULL,      -- コメント最大数\r
-    cf_max_length        INT            DEFAULT 0                     NOT NULL,      -- コメント文字数\r
-    cf_image_max_size    INT            DEFAULT 0                     NOT NULL,      -- 画像の最大サイズ(縦横)\r
-    cf_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示可否(個別設定可)\r
-    cf_visible_d         BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示可否デフォルト値\r
-    cf_accept_post       BOOLEAN        DEFAULT true                  NOT NULL,      -- コメントの受付(個別設定可)\r
-    cf_accept_post_d     BOOLEAN        DEFAULT true                  NOT NULL,      -- コメントの受付デフォルト値\r
-    cf_start_dt          TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 使用期間(開始)(個別設定可)\r
-    cf_end_dt            TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 使用期間(終了)(個別設定可)\r
-    cf_user_limited      BOOLEAN        DEFAULT false                 NOT NULL,      -- 投稿ユーザを制限\r
-    cf_need_authorize    BOOLEAN        DEFAULT false                 NOT NULL,      -- 認証が必要かどうか\r
-    cf_permit_html       BOOLEAN        DEFAULT false                 NOT NULL,      -- HTMLメッセージ\r
-    cf_permit_image      BOOLEAN        DEFAULT false                 NOT NULL,      -- 画像あり\r
-    cf_autolink          BOOLEAN        DEFAULT false                 NOT NULL,      -- 自動リンク\r
-    cf_use_title         BOOLEAN        DEFAULT true                  NOT NULL,      -- タイトルあり\r
-    cf_use_author        BOOLEAN        DEFAULT true                  NOT NULL,      -- 投稿者名あり\r
-    cf_use_email         BOOLEAN        DEFAULT true                  NOT NULL,      -- Eメールあり\r
-    cf_use_url           BOOLEAN        DEFAULT true                  NOT NULL,      -- URLあり\r
-    cf_use_avatar        BOOLEAN        DEFAULT true                  NOT NULL,      -- アバターあり\r
-    cf_use_date          BOOLEAN        DEFAULT true                  NOT NULL,      -- 日付あり\r
-    PRIMARY KEY          (cf_content_type,   cf_contents_id)\r
-) TYPE=innodb;\r
-\r
--- 汎用コメントトラン\r
-DROP TABLE IF EXISTS comment;\r
-CREATE TABLE comment (\r
-    cm_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号\r
-    cm_content_type      VARCHAR(10)    DEFAULT ''                    NOT NULL,      -- コンテンツ種別\r
-    cm_contents_id       VARCHAR(32)    DEFAULT ''                    NOT NULL,      -- 共通コンテンツID\r
-    cm_device_type       INT            DEFAULT 0                     NOT NULL,      -- 端末タイプ(0=PC、1=携帯、2=スマートフォン)\r
-    cm_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID\r
-    cm_parent_serial     INT            DEFAULT 0                     NOT NULL,      -- 親コメントのシリアル番号\r
-    \r
-    cm_no                INT            DEFAULT 0                     NOT NULL,      -- コメント番号(投稿順)\r
-    cm_sort_order        INT            DEFAULT 0                     NOT NULL,      -- 表示順\r
-    cm_nest_level        INT            DEFAULT 0                     NOT NULL,      -- ツリータイプの場合のネスト段階\r
-    cm_title             VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- タイトル\r
-    cm_message           TEXT                                         NOT NULL,      -- メッセージ\r
-    cm_url               TEXT                                         NOT NULL,      -- 参照用URL\r
-    cm_author            VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 投稿者名\r
-    cm_email             VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- Eメールアドレス\r
-    cm_status            SMALLINT       DEFAULT 0                     NOT NULL,      -- 状態(0=未設定、1=非公開、2=公開)\r
-    \r
-    cm_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者\r
-    cm_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時\r
-    cm_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者\r
-    cm_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時\r
-    cm_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態\r
-    PRIMARY KEY          (cm_serial)\r
-) TYPE=innodb;\r
-\r
diff --git a/include/sql/update/2013061301_to_2013062901.sql b/include/sql/update/2013061301_to_2013062901.sql
deleted file mode 100644 (file)
index eb4b942..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013061301_to_2013062901.sql 6159 2013-07-02 00:06:40Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- 添付ファイルマスター\r
-ALTER TABLE _attach_file ADD af_original_url              TEXT                                         NOT NULL;      -- 取得元URL\r
-\r
--- システム設定マスター(管理画面用デフォルトテンプレートを変更)\r
-UPDATE _system_config SET sc_value = '1.7' WHERE sc_id = 'admin_jquery_version';\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コメント設定マスター\r
-ALTER TABLE comment_config ADD cf_image_max_upload    INT            DEFAULT 0                     NOT NULL;      -- 画像の最大アップロード数
\ No newline at end of file
diff --git a/include/sql/update/2013062901_to_2013071401.sql b/include/sql/update/2013062901_to_2013071401.sql
deleted file mode 100644 (file)
index df4dd35..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013062901_to_2013071401.sql 6167 2013-07-14 05:41:34Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- システム設定マスター(管理画面用デフォルトテンプレートを変更)\r
-UPDATE _system_config SET sc_value = '1.8' WHERE sc_id = 'admin_jquery_version';\r
-\r
--- *** システム標準テーブル ***\r
diff --git a/include/sql/update/2013071401_to_2013071901.sql b/include/sql/update/2013071401_to_2013071901.sql
deleted file mode 100644 (file)
index d40ea72..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013062901_to_2013071401.sql 6167 2013-07-14 05:41:34Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
-\r
--- *** システム標準テーブル ***\r
--- 汎用コメント設定マスター\r
-ALTER TABLE comment_config ADD cf_upload_max_bytes    INT            DEFAULT 0                     NOT NULL;      -- アップロード画像の最大バイトサイズ\r
diff --git a/include/sql/update/2013071901_to_2013080701.sql b/include/sql/update/2013071901_to_2013080701.sql
deleted file mode 100644 (file)
index cb1d8a4..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *\r
--- * バージョンアップ用スクリプト\r
--- *\r
--- * PHP versions 5\r
--- *\r
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
--- *\r
--- * @package    Magic3 Framework\r
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
--- * @copyright  Copyright 2006-2013 Magic3 Project.\r
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License\r
--- * @version    SVN: $Id: 2013062901_to_2013071401.sql 6167 2013-07-14 05:41:34Z fishbone $\r
--- * @link       http://www.magic3.org\r
--- *\r
--- --------------------------------------------------------------------------------------------------\r
--- バージョンアップ用スクリプト\r
--- --------------------------------------------------------------------------------------------------\r
-\r
--- *** システムベーステーブル ***\r
--- システム設定マスター\r
-INSERT INTO _system_config \r
-(sc_id,               sc_value,                  sc_name) VALUES\r
-('smartphone_use_jquery_mobile',    '0',                        'スマートフォン画面でjQuery Mobileを使用');\r
-\r
--- ページIDマスター\r
-ALTER TABLE _page_id ADD pg_available         BOOLEAN        DEFAULT true                  NOT NULL;      -- メニューから選択可能かどうか\r
-\r
--- *** システム標準テーブル ***\r
diff --git a/include/sql/update/2013080701_to_2013082801.sql b/include/sql/update/2013080701_to_2013082801.sql
deleted file mode 100644 (file)
index aa290d3..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2013 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2013062901_to_2013071401.sql 6167 2013-07-14 05:41:34Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- *** システム標準テーブル ***
--- イベント記事マスター
-ALTER TABLE event_entry ADD ee_regist_user_id    INT            DEFAULT 0                     NOT NULL;      -- エントリー作者
-ALTER TABLE event_entry ADD ee_is_all_day        BOOLEAN        DEFAULT false                 NOT NULL;      -- 終日イベントかどうか
-
--- イベントカテゴリーマスター
-DROP TABLE IF EXISTS event_category;
-CREATE TABLE event_category (
-    ec_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ec_id                INT            DEFAULT 0                     NOT NULL,      -- カテゴリーID
-    ec_language_id       VARCHAR(2)     DEFAULT ''                    NOT NULL,      -- 言語ID
-    ec_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    ec_name              VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- カテゴリー名称
-    ec_parent_id         INT            DEFAULT 0                     NOT NULL,      -- 親カテゴリーID
-    ec_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    ec_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示するかどうか
-
-    ec_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    ec_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    ec_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    ec_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    ec_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (ec_serial),
-    UNIQUE               (ec_id,        ec_language_id,               ec_history_index)
-) TYPE=innodb;
-
--- イベント記事とイベント記事カテゴリーの対応付けマスター
-DROP TABLE IF EXISTS event_entry_with_category;
-CREATE TABLE event_entry_with_category (
-    ew_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ew_entry_serial      INT            DEFAULT 0                     NOT NULL,      -- ブログ記事シリアル番号
-    ew_index             INT            DEFAULT 0                     NOT NULL,      -- インデックス番号
-    ew_category_id       INT            DEFAULT 0                     NOT NULL,      -- ブログ記事カテゴリーID
-    PRIMARY KEY          (ew_serial),
-    UNIQUE               (ew_entry_serial,      ew_index)
-) TYPE=innodb;
-
--- イベント設定マスター
-INSERT INTO event_config
-(eg_id,                     eg_value,    eg_name,                              eg_index) VALUES
-('msg_no_entry_in_future',  '今後のイベントはありません',         '予定イベントなし時メッセージ',                 0),
-('catagory_count',          '2', 'カテゴリー最大数', 0);
\ No newline at end of file
diff --git a/include/sql/update/2013082801_to_2013091101.sql b/include/sql/update/2013082801_to_2013091101.sql
deleted file mode 100644 (file)
index 7ab5094..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2013 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- テンプレート情報マスター
-ALTER TABLE _templates ADD tm_use_bootstrap         BOOLEAN        DEFAULT false                  NOT NULL;      -- Bootstrapを使用するかどうか
-
--- *** システム標準テーブル ***
--- カレンダー時間枠
-DROP TABLE IF EXISTS time_period;
-CREATE TABLE time_period (
-    to_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    to_date_type_id      INT            DEFAULT 0                     NOT NULL,      -- 日付タイプID(1~,-1以下=カレンダー日付のシリアル番号)
-    to_index             INT            DEFAULT 0                     NOT NULL,      -- インデックス番号(0~)
-    
-    to_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 名前
-    to_start_time        TIME           DEFAULT '00:00:00'            NOT NULL,      -- 開始時刻
-    to_minute            INT            DEFAULT 0                     NOT NULL,      -- 時間(分)
-    PRIMARY KEY          (to_serial),
-    UNIQUE               (to_date_type_id,        to_index)
-) TYPE=innodb;
-
--- 日付タイプ
-DROP TABLE IF EXISTS date_type;
-CREATE TABLE date_type (
-    dt_id                INT            DEFAULT 0                     NOT NULL,      -- 日付タイプID
-    
-    dt_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 名称
-    dt_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート順
-
-    dt_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    dt_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    dt_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (dt_id)
-) TYPE=innodb;
-
--- カレンダー日付
-DROP TABLE IF EXISTS calendar_date;
-CREATE TABLE calendar_date (
-    ce_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    ce_def_id            INT            DEFAULT 0                     NOT NULL,      -- カレンダー定義ID
-    ce_type              INT            DEFAULT 0                     NOT NULL,      -- データタイプ(0=インデックス番号,1=日付,10=基本日オプション(インデックス番号))
-    ce_index             INT            DEFAULT 0                     NOT NULL,      -- インデックス番号(0~)
-    ce_date              DATE           DEFAULT '0000-00-00'          NOT NULL,      -- 日付
-    
-    ce_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 名前
-    ce_date_type_id      INT            DEFAULT 0                     NOT NULL,      -- 日付タイプID(1~,-1=個別時間定義)
-    ce_style             TEXT                                         NOT NULL,      -- HTMLスタイル属性
-    PRIMARY KEY          (ce_serial),
-    UNIQUE               (ce_def_id,    ce_type,     ce_index,        ce_date)
-) TYPE=innodb;
-
--- カレンダー定義
-DROP TABLE IF EXISTS calendar_def;
-CREATE TABLE calendar_def (
-    cd_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    cd_id                INT            DEFAULT 0                     NOT NULL,      -- カレンダー定義ID
-    cd_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    cd_name              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- 名前
-    cd_repeat_type       INT            DEFAULT 0                     NOT NULL,      -- 繰り返しタイプ(0=繰り返しなし,1=曜日基準,2=日付基準)
-    cd_date_count        INT            DEFAULT 0                     NOT NULL,      -- 所要日数
-    cd_style             TEXT                                         NOT NULL,      -- HTMLスタイル属性
-    cd_active_start_dt   TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 有効期間(開始)
-    cd_active_end_dt     TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 有効期間(終了)
-    
-    cd_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    cd_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    cd_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    cd_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    cd_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (cd_serial),
-    UNIQUE               (cd_id,        cd_history_index)
-) TYPE=innodb;
-
--- カレンダー初期データ
-INSERT INTO time_period
-(to_date_type_id, to_index, to_name, to_start_time, to_minute) VALUES
-(1, 0, '午前', '09:00:00', 180),
-(1, 1, '午後', '13:00:00', 240),
-(2, 0, '午前', '09:00:00', 180);
-INSERT INTO date_type
-(dt_id, dt_name, dt_sort_order) VALUES
-(1, '営業日(終日)', 1),
-(2, '営業日(午前のみ)', 2);
diff --git a/include/sql/update/2013091101_to_2013101001.sql b/include/sql/update/2013091101_to_2013101001.sql
deleted file mode 100644 (file)
index 1a0d494..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2013 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id: 2013062901_to_2013071401.sql 6167 2013-07-14 05:41:34Z fishbone $
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- *** システム標準テーブル ***
--- カレンダー定義
-ALTER TABLE calendar_def ADD cd_open_date_style             TEXT                                         NOT NULL;      -- 開業日HTMLスタイル属性
-ALTER TABLE calendar_def ADD cd_closed_date_style             TEXT                                         NOT NULL;      -- 休業日HTMLスタイル属性
-
--- カレンダーイベントマスター
-DROP TABLE IF EXISTS calendar_event;
-CREATE TABLE calendar_event (
-    cv_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    cv_id                INT            DEFAULT 0                     NOT NULL,      -- エントリーID
-    cv_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    cv_name              VARCHAR(60)    DEFAULT ''                    NOT NULL,      -- エントリータイトル
-    cv_html              TEXT                                         NOT NULL,      -- エントリー本文HTML
-    cv_start_dt          TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- イベント期間(開始)
-    cv_end_dt            TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- イベント期間(終了)
-    cv_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示可否
-    cv_is_all_day        BOOLEAN        DEFAULT false                 NOT NULL,      -- 終日イベントかどうか
-    
-    cv_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    cv_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    cv_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    cv_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    cv_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (cv_serial),
-    UNIQUE               (cv_id,        cv_history_index)
-) TYPE=innodb;
\ No newline at end of file
diff --git a/include/sql/update/2013101001_to_2013101024.sql b/include/sql/update/2013101001_to_2013101024.sql
deleted file mode 100644 (file)
index 76e1146..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2013 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 多言語対応文字列マスター(コンテンツ種別)
-INSERT INTO _language_string
-(ls_type, ls_id,         ls_language_id, ls_value,               ls_name) VALUES
-(2,       'dboard',      'ja',           'ダッシュボード',       'ダッシュボード'),
-(2,       'search',      'ja',           '検索結果',             '検索結果'),
-(2,       'content',     'ja',           '汎用コンテンツ',       '汎用コンテンツ'),
-(2,       'product',     'ja',           '商品情報',             '商品情報'),
-(2,       'bbs',         'ja',           'BBS',                  'BBS'),
-(2,       'blog',        'ja',           'ブログ',               'ブログ'),
-(2,       'wiki',        'ja',           'Wiki',                 'Wiki'),
-(2,       'user',        'ja',           'ユーザ作成コンテンツ', 'ユーザ作成コンテンツ'),
-(2,       'event',       'ja',           'イベント情報',         'イベント情報'),
-(2,       'photo',       'ja',           'フォトギャラリー',     'フォトギャラリー');
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2013101024_to_2013110301.sql b/include/sql/update/2013101024_to_2013110301.sql
deleted file mode 100644 (file)
index 70777c5..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2013 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- メニューIDマスター
-DELETE FROM _menu_id WHERE mn_id = 'm_main_menu';
-INSERT INTO _menu_id
-(mn_id,         mn_name,          mn_description, mn_device_type, mn_sort_order) VALUES
-('m_main_menu', 'メインメニュー(携帯用)', '',             1,              10);
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_content_info         VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- コンテンツ情報
-
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,                  sc_name) VALUES
-('access_in_intranet',               '0',                       'イントラネット運用');
-
--- *** システム標準テーブル ***
--- カレンダー日付
-ALTER TABLE calendar_date ADD ce_param             TEXT                                         NOT NULL;      -- オプションパラメータ(シリアライズデータ)
\ No newline at end of file
diff --git a/include/sql/update/2013110301_to_2013112201.sql b/include/sql/update/2013110301_to_2013112201.sql
deleted file mode 100644 (file)
index c8354b3..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2013 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-DELETE FROM _system_config WHERE sc_id = 'admin_default_theme';
-INSERT INTO _system_config 
-(sc_id,                 sc_value,         sc_name) VALUES
-('admin_default_theme', 'black-tie',          '管理画面用jQueryUIテーマ');
-
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2013112201_to_2013121801.sql b/include/sql/update/2013112201_to_2013121801.sql
deleted file mode 100644 (file)
index 1901eab..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2013 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-
--- *** システム標準テーブル ***
-DELETE FROM blog_config WHERE bg_id = 'layout_entry_single';
-DELETE FROM blog_config WHERE bg_id = 's:layout_entry_single';
-INSERT INTO blog_config
-(bg_id,                     bg_value,    bg_name,                              bg_index) VALUES
-('layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)',               0),
-('s:layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)',               100);
diff --git a/include/sql/update/2013121801_to_2014010201.sql b/include/sql/update/2013121801_to_2014010201.sql
deleted file mode 100644 (file)
index 0e23374..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 運用ログトラン
-ALTER TABLE _operation_log ADD ol_show_top     BOOLEAN        DEFAULT false                 NOT NULL;      -- メッセージをトップ表示するかどうか
-
--- ページ定義マスター
-DELETE FROM _page_def WHERE pd_id = 'admin_index';
-INSERT INTO _page_def
-(pd_id,         pd_sub_id,      pd_position_id, pd_index, pd_widget_id,   pd_config_id, pd_visible, pd_editable, pd_title_visible) VALUES
-('admin_index', '',             'top',          1,        'admin_menu4',  0,            true,       false, false),
-('admin_index', 'front',        'top',          2,        'admin/message',  0,            true,       false, false),
-('admin_index', 'front',        'main',         1,        'admin_main',   0,            true,       false, false),
-('admin_index', 'front',        'main',         2,        'admin/analytics',   0,            true,       true, false),
-('admin_index', 'front',        'main',         3,        'admin/opelog',   0,            true,       true, false),
-('admin_index', 'front',        'left',         1,        'admin/loginuser',   0,            true,       true, true),
-('admin_index', 'content',      'main',         1,        'admin_main',   0,            true,       false, false);
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = '_admin4';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_use_bootstrap, tm_available, tm_clean_type, tm_create_dt) VALUES
-('_admin4',                       '_admin4',                       2,       0,              false,     true,             false,        0,             now());
-
--- システム設定マスター(管理画面用デフォルトテンプレートを変更)
-UPDATE _system_config SET sc_value = '_admin4' WHERE sc_id = 'admin_default_template';
-
--- 管理画面メニューデータ
-DELETE FROM _nav_item;
-INSERT INTO _nav_item
-(ni_id, ni_parent_id, ni_index, ni_nav_id,    ni_task_id,        ni_view_control, ni_param, ni_name,                ni_help_title,          ni_help_body) VALUES
-(100,   0,            0,        'admin_menu', '_page',           0,               '',       '画面管理',             '画面管理',             'Webサイトのデザインや機能を管理します。'),
-(101,   100,          0,        'admin_menu', 'pagedef',         0,               '',       'PC画面',         'PC画面編集',         'PC用Webサイトの画面を作成します。'),
-(102,   100,          1,        'admin_menu', 'pagedef_smartphone',  0,           '',       'スマートフォン画面', 'スマートフォン画面編集',       'スマートフォン用Webサイトの画面を作成します。'),
-(103,   100,          2,        'admin_menu', 'pagedef_mobile',  0,               '',       '携帯画面',       '携帯画面編集',       '携帯用Webサイトの画面を作成します。'),
-(104,   100,          3,        'admin_menu', '_104',            3,               '',       'セパレータ',                 '',                     ''),
-(105,   100,          4,        'admin_menu', 'widgetlist',      0,               '',       'ウィジェット管理',     'ウィジェット管理',     'ウィジェットの管理を行います。'),
-(106,   100,          5,        'admin_menu', 'templist',        0,               '',       'テンプレート管理',     'テンプレート管理',     'テンプレートの管理を行います。'),
-(107,   100,          6,        'admin_menu', 'smenudef',        0,               '',       'メニュー管理', 'メニュー管理', 'メニュー定義を管理します。'),
-(199,   0,            1,        'admin_menu', '_199',            1,               '',       '改行',                 '',                     ''),
-(200,   0,            2,        'admin_menu', '_login',          0,               '',       'システム運用',         '',                     ''),
-(201,   200,          0,        'admin_menu', 'userlist',        0,               '',       'ユーザ管理',           'ユーザ管理',           'ログイン可能なユーザを管理します。'),
-(202,   200,          1,        'admin_menu', 'accesslog',     0,               '',       '運用状況', '運用状況', 'サイトの運用状況を表示します。'),
-(299,   0,            3,        'admin_menu', '_299',            1,               '',       '改行',                 '',                     ''),
-(300,   0,            4,        'admin_menu', '_config',         0,               '',       'システム管理',         '',                     ''),
-(301,   300,          0,        'admin_menu', 'configsite',      0,               '',       '基本情報',             '基本情報',             'サイト運営に必要な情報を設定します。'),
-(302,   300,          1,        'admin_menu', 'configsys',       0,               '',       'システム情報',         'システム情報',         'システム全体の設定、運用状況を管理します。'),
-(303,   300,          2,        'admin_menu', 'mainte',          0,               '',       'メンテナンス', 'メンテナンス', 'ファイルやDBなどのメンテナンスを行います。'),
-(10100,   0,            0,        'admin_menu.en', '_page',           0,               '',       'Edit Page',             'Edit Page',             'Edit page for design and function.'),
-(10101,   10100,          0,        'admin_menu.en', 'pagedef',         0,               '',       'PC Page',         'PC Page',         'Edit page for PC.'),
-(10102,   10100,          1,        'admin_menu.en', 'pagedef_smartphone',  0,           '',       'Smartphone Page', 'Smartphone Page',       'Edit page for Smartphone.'),
-(10103,   10100,          2,        'admin_menu.en', 'pagedef_mobile',  0,               '',       'Mobile Page',       'Mobile Page',       'Edit page for Mobile.'),
-(10104,   10100,          3,        'admin_menu.en', '_10104',            3,               '',       'Separator',                 '',                     ''),
-(10105,   10100,          4,        'admin_menu.en', 'widgetlist',      0,               '',       'Widget Administration',     'Widget Administration',     'Administrate widgets with widget config window.'),
-(10106,   10100,          5,        'admin_menu.en', 'templist',        0,               '',       'Template Administration',     'Template Administration',     'Administrate templates.'),
-(10107,   10100,          6,        'admin_menu.en', 'smenudef',        0,               '',       'Menu Administration', 'Menu Administration', 'Administrate menu definition.'),
-(10199,   0,            1,        'admin_menu.en', '_10199',            1,               '',       'Return',                 '',                     ''),
-(10200,   0,            2,        'admin_menu.en', '_login',          0,               '',       'System Operation',         '',                     ''),
-(10201,   10200,          0,        'admin_menu.en', 'userlist',        0,               '',       'User List',           'User List',           'Administrate user to login.'),
-(10202,   10200,          1,        'admin_menu.en', 'accesslog',     0,               '',       'Site Conditions', 'Site Conditions', 'Operation log and access analytics on site.'),
-(10299,   0,            3,        'admin_menu.en', '_10299',            1,               '',       'Return',                 '',                     ''),
-(10300,   0,            4,        'admin_menu.en', '_config',         0,               '',       'System Administration',         '',                     ''),
-(10301,   10300,          0,        'admin_menu.en', 'configsite',      0,               '',       'Site Information',             'Site Information',             'Configure site information.'),
-(10302,   10300,          1,        'admin_menu.en', 'configsys',       0,               '',       'System Information',         'System Information',         'Configure sytem information.'),
-(10303,   10300,          2,        'admin_menu.en', 'mainte',          0,               '',       'System Maintenance', 'System Maintenance', 'Maintenance about file system and database.');
-
--- 運用メッセージタイプマスター
-DELETE FROM _operation_type;
-INSERT INTO _operation_type
-(ot_id,          ot_name,                ot_description,                               ot_level, ot_sort_order) VALUES
-('info',         'システム情報',         'システム運用の正常な動作を示します',         0,        1),
-('request',      'システム操作要求',     'システムからの操作要求を示します',           1,        2),
-('warn',         'システム警告',         'システム運用の注意が必要な動作を示します',   2,        3),
-('error',        'システム通常エラー',   'システム運用の異常な動作を示します',         10,       4),
-('fatal',        'システム致命的エラー', 'システム運用の致命的に異常な動作を示します', 10,       5),
-('user_info',    'ユーザ操作',           'ユーザ操作の正常な動作を示します',           0,        6),
-('user_request', 'ユーザ操作要求',       'ユーザ操作からの操作要求を示します',         1,        7),
-('user_err',     'ユーザ操作エラー',     'ユーザ操作の異常な動作を示します',           10,       8),
-('user_access',  'ユーザ不正アクセス',   'ユーザ操作の不正なアクセスを示します',       10,       9),
-('user_data',    'ユーザ不正データ',     'ユーザ操作の不正なデータ送信を示します',     10,       10),
-('guide',        'ガイダンス',           'システム運用に関連しないメッセージを示します',         -1,        11);
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014010201_to_2014013001.sql b/include/sql/update/2014010201_to_2014013001.sql
deleted file mode 100644 (file)
index 2d7c246..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_priority          INT            DEFAULT 0                     NOT NULL;      -- 優先度
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014013001_to_2014020101.sql b/include/sql/update/2014013001_to_2014020101.sql
deleted file mode 100644 (file)
index 8eddce9..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページIDマスター
-DELETE FROM _page_id WHERE pg_type = 1;
-INSERT INTO _page_id 
-(pg_id,          pg_type,      pg_name,                            pg_description,                       pg_priority, pg_active, pg_visible, pg_editable, pg_available) VALUES
-('front',        1,            'トップ画面',                       'トップ画面用',                       0,           true,      true,       true,        true),
-('content',      1,            'コンテンツ',                       'コンテンツ画面用',                   1,           true,      true,       false,       true),
-('shop',         1,            'ECショップ',                       'ECショップ画面用',                   2,           true,      true,       true,        true),
-('shop_safe',    1,            'ECショップ(セキュリティ保護)',     'ECショップ(セキュリティ保護)画面用', 3,           true,      true,       true,        true),
-('bbs',          1,            '掲示板',                           '掲示板画面用',                       4,           true,      true,       true,        true),
-('blog',         1,            'ブログ',                           'ブログ画面用',                       5,           true,      true,       true,        true),
-('wiki',         1,            'Wiki',                             'Wiki画面用',                         6,           true,      true,       true,        true),
-('event',        1,            'イベント',                         'イベント画面用',                     7,           true,      true,       true,        true),
-('photo',        1,            'フォトギャラリー',                   'フォトギャラリー画面用',           8,           true,      true,       true,        true),
-('contact',      1,            'お問い合わせ',                     'お問い合わせ画面用',                 9,           true,      true,       true,        true),
-('contact2',     1,            'お問い合わせ2',                    'お問い合わせ画面用',                 10,          true,      true,       true,        false),
-('reguser',      1,            'ユーザ登録',                       'ユーザ登録画面用',                   12,          true,      true,       true,        false),
-('reserve',      1,            '予約',                             '予約画面用',                         20,          true,      true,       true,        false),
-('search',       1,            '検索',                             '検索画面用',                         21,          true,      true,       true,        true),
-('user',         1,            'ユーザコンテンツ',                 'ユーザ作成コンテンツ用',             50,          true,      true,       true,        true),
-('deploy',       1,            'ウィジェット有効化用',             'ウィジェット有効化用',               100,         true,      false,      true,        false),
-('test',         1,            'ウィジェットテスト用',             'ウィジェットテスト用非公開画面',     101,         false,     true,       true,        false);
-
--- ページ情報マスター
-DELETE FROM _page_info;
-INSERT INTO _page_info
-(pn_id,       pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('index',     'content',   'content',       false),
-('index',     'shop',      'product',       false),
-('index',     'shop_safe', 'commerce',      true),
-('index',     'bbs',       'bbs',           false),
-('index',     'blog',      'blog',          false),
-('index',     'wiki',      'wiki',          false),
-('index',     'user',      'user',          false),
-('index',     'event',     'event',         false),
-('index',     'photo',     'photo',         false),
-('index',     'search',    'search',        false),
-('index',     'contact',   '',              true),
-('index',     'contact2',  '',              true),
-('index',     'safe',      '',              true),
-('m_index',   'content',   'content',       false),
-('m_index',   'shop',      'product',       false),
-('m_index',   'bbs',       'bbs',           false),
-('m_index',   'blog',      'blog',          false),
-('m_index',   'wiki',      'wiki',          false),
-('m_index',   'user',      'user',          false),
-('m_index',   'event',     'event',         false),
-('m_index',   'photo',     'photo',         false),
-('m_index',   'search',    'search',        false),
-('s_index',   'content',   'content',       false),
-('s_index',   'shop',      'product',       false),
-('s_index',   'shop_safe', 'commerce',      true),
-('s_index',   'bbs',       'bbs',           false),
-('s_index',   'blog',      'blog',          false),
-('s_index',   'wiki',      'wiki',          false),
-('s_index',   'user',      'user',          false),
-('s_index',   'event',     'event',         false),
-('s_index',   'photo',     'photo',         false),
-('s_index',   'search',    'search',        false),
-('s_index',   'contact',   '',              true),
-('s_index',   'contact2',  '',              true),
-('s_index',   'safe',      '',              true),
-('admin_index', 'front',   'dboard',        false),
-('connector', 'content',   'content',       false);
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014020101_to_2014030301.sql b/include/sql/update/2014020101_to_2014030301.sql
deleted file mode 100644 (file)
index 8374743..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_category_id       VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- 所属カテゴリー
-
--- ウィジェットカテゴリマスター
-DROP TABLE IF EXISTS _widget_category;
-CREATE TABLE _widget_category (
-    wt_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    wt_id                VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- カテゴリID
-    wt_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-
-    wt_name              VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- カテゴリ名称
-    wt_sort_order        INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    wt_visible           BOOLEAN        DEFAULT true                  NOT NULL,      -- 表示するかどうか
-
-    wt_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    wt_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    wt_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    wt_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    wt_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (wt_serial),
-    UNIQUE               (wt_id,        wt_history_index)
-) TYPE=innodb;
-
-INSERT INTO _widget_category
-(wt_id, wt_name,            wt_sort_order) VALUES
-('',     'その他',   100),
-('content',     '汎用コンテンツ',   1),
-('blog',     'ブログ',           2),
-('commerce',     'Eコマース',        3),
-('photo',     'フォトギャラリー', 4),
-('event',     'イベント情報',     5),
-('subcontent',     '補助コンテンツ',     6),
-('search',     '検索',             7),
-('reguser',     'ユーザ登録',      8),
-('menu',     'メニュー',         9),
-('image',     '画像',         10),
-('admin',     '管理画面用',      20);
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014030301_to_2014030501.sql b/include/sql/update/2014030301_to_2014030501.sql
deleted file mode 100644 (file)
index ff9ab11..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェットカテゴリマスター
-DELETE FROM _widget_category;
-INSERT INTO _widget_category
-(wt_id, wt_name,            wt_sort_order) VALUES
-('',     'その他',   100),
-('content',     '汎用コンテンツ',   1),
-('blog',     'ブログ',           2),
-('commerce',     'Eコマース',        3),
-('photo',     'フォトギャラリー', 4),
-('event',     'イベント情報',     5),
-('subcontent',     '補助コンテンツ',     6),
-('search',     '検索',             7),
-('reguser',     'ユーザ登録',      8),
-('menu',     'メニュー',         9),
-('image',     '画像',         10),
-('design',    'デザイン',         11),
-('admin',     '管理画面用',      20);
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014030501_to_2014031001.sql b/include/sql/update/2014030501_to_2014031001.sql
deleted file mode 100644 (file)
index 45c3c6a..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェットカテゴリマスター
-DELETE FROM _widget_category;
-INSERT INTO _widget_category
-(wt_id, wt_name,            wt_sort_order) VALUES
-('',     'その他',   100),
-('content',   '汎用コンテンツ',   1),
-('blog',      'ブログ',           2),
-('bbs',       'BBS',           3),
-('commerce',  'Eコマース',        4),
-('photo',     'フォトギャラリー', 5),
-('event',     'イベント情報',     6),
-('user',     'ユーザ作成コンテンツ',     7),
-('subcontent',     '補助コンテンツ',     8),
-('search',     '検索',             9),
-('reguser',     'ユーザ登録',      10),
-('menu',     'メニュー',         11),
-('image',     '画像',         12),
-('design',    'デザイン',         13),
-('admin',     '管理画面用',      20);
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_type_option   VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- ウィジェット種別オプション(nav=ナビゲーションメニュー)
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'bootstrap_yeti';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_use_bootstrap, tm_available, tm_clean_type, tm_create_dt) VALUES
-('bootstrap_yeti',             'bootstrap_yeti',             10,       0,              false,     true,             true,        0,             now());
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014031001_to_2014032701.sql b/include/sql/update/2014031001_to_2014032701.sql
deleted file mode 100644 (file)
index 9d3c952..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'bootstrap_cerulean';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_use_bootstrap, tm_available, tm_clean_type, tm_create_dt) VALUES
-('bootstrap_cerulean',             'bootstrap_cerulean',             10,       0,              false,     true,             true,        0,             now());
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014032701_to_2014040701.sql b/include/sql/update/2014032701_to_2014040701.sql
deleted file mode 100644 (file)
index 736d462..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-DELETE FROM _system_config WHERE sc_id = 'awstats_data_path';
-INSERT INTO _system_config 
-(sc_id,               sc_value,           sc_name) VALUES
-('awstats_data_path', '../tools/awstats', 'Awstatsデータのデータパス');
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_template_type       TEXT                                         NOT NULL;      -- 対応するテンプレートタイプ(「,」区切りで指定。値=bootstrap,jquerymobile)
-ALTER TABLE _widgets ADD wd_latest_version      VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 最新バージョンのバージョン文字列
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014040701_to_2014042301.sql b/include/sql/update/2014040701_to_2014042301.sql
deleted file mode 100644 (file)
index 9794bfe..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_required_version      VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- 動作に必要なシステムバージョン
-
--- *** システム標準テーブル ***
-
diff --git a/include/sql/update/2014042301_to_2014050601.sql b/include/sql/update/2014042301_to_2014050601.sql
deleted file mode 100644 (file)
index 3b8d79b..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- テンプレート情報マスター
-ALTER TABLE _templates ADD tm_version      VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- テンプレートバージョン文字列
-
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_content_widget_id         VARCHAR(50)    DEFAULT ''                    NOT NULL;      -- コンテンツ編集用のウィジェット
-
--- 追加クラスマスター
-ALTER TABLE _addons ADD ao_opelog_hook          BOOLEAN        DEFAULT false                  NOT NULL;      -- 運用ログイベントフックがあるかどうか
-
-INSERT INTO _addons
-(ao_id,     ao_class_name, ao_name,            ao_description, ao_opelog_hook) VALUES
-('newslib', 'newsLib',     '新着情報ライブラリ', '', true);
-
--- *** システム標準テーブル ***
--- 新着情報トラン
-ALTER TABLE news ADD nw_device_type       INT            DEFAULT 0                     NOT NULL;      -- 端末タイプ(0=PC、1=携帯、2=スマートフォン)
-ALTER TABLE news ADD nw_content_type      VARCHAR(10)    DEFAULT ''                    NOT NULL;      -- コンテンツの種別
-ALTER TABLE news ADD nw_content_id        TEXT                                         NOT NULL;      -- コンテンツID
-ALTER TABLE news ADD nw_url               TEXT                                         NOT NULL;      -- リンク先
-ALTER TABLE news ADD nw_site_url          TEXT                                         NOT NULL;      -- サイトリンク
-ALTER TABLE news ADD nw_summary           VARCHAR(100)   DEFAULT ''                    NOT NULL;      -- 概要
-ALTER TABLE news ADD nw_mark              INT            DEFAULT 0                     NOT NULL;      -- 付加マーク(0=なし、1=新規)
-ALTER TABLE news ADD nw_visible           BOOLEAN        DEFAULT false                 NOT NULL;      -- 表示するかどうか
-ALTER TABLE news ADD nw_user_limited      BOOLEAN        DEFAULT false                 NOT NULL;      -- アクセス可能ユーザを制限
-ALTER TABLE news ADD nw_create_user_id    INT            DEFAULT 0                     NOT NULL;      -- レコード作成者
-ALTER TABLE news ADD nw_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL;      -- レコード作成日時
-ALTER TABLE news ADD nw_id                INT            DEFAULT 0                     NOT NULL;      -- ID
-ALTER TABLE news ADD nw_history_index     INT            DEFAULT 0                     NOT NULL;      -- 履歴管理用インデックスNo(0~)
-ALTER TABLE news ADD UNIQUE (nw_id,  nw_history_index);            -- ユニーク制約再設定
-
--- 新着情報設定マスター
-DROP TABLE IF EXISTS news_config;
-CREATE TABLE news_config (
-    nc_id                VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ID(Key)
-    nc_value             TEXT                                         NOT NULL,      -- 値
-    nc_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 名称
-    nc_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明
-    nc_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    PRIMARY KEY          (nc_id)
-) TYPE=innodb;
-
-INSERT INTO news_config
-(nc_id,                  nc_value,    nc_name,                              nc_index) VALUES
-('default_message',   '「[#TITLE#]」を追加しました', 'デフォルトメッセージ',               1),
-('date_format',       'n月j日', '日時フォーマット',               1),
-('layout_list_item',  '[#DATE#] [#MESSAGE#][#MARK#]', 'リスト項目レイアウト',               1);
diff --git a/include/sql/update/2014050601_to_2014072101.sql b/include/sql/update/2014050601_to_2014072101.sql
deleted file mode 100644 (file)
index 7ded8dc..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェットカテゴリマスター
-DELETE FROM _widget_category;
-INSERT INTO _widget_category
-(wt_id, wt_name,            wt_sort_order) VALUES
-('',     'その他',   100),
-('content',   '汎用コンテンツ',   1),
-('blog',      'ブログ',           2),
-('bbs',       'BBS',           3),
-('commerce',  'Eコマース',        4),
-('photo',     'フォトギャラリー', 5),
-('event',     'イベント情報',     6),
-('wiki',     'Wiki',     7),
-('user',     'ユーザ作成コンテンツ',     8),
-('subcontent',     '補助コンテンツ',     9),
-('search',     '検索',             10),
-('reguser',     'ユーザ登録',      11),
-('menu',     'メニュー',         12),
-('image',     '画像',         13),
-('design',    'デザイン',         14),
-('admin',     '管理画面用',      20);
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'bootstrap_united';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_use_bootstrap, tm_available, tm_clean_type, tm_create_dt) VALUES
-('bootstrap_united',             'bootstrap_united',             10,       0,              false,     true,             true,        0,             now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2014072101_to_2014072501.sql b/include/sql/update/2014072101_to_2014072501.sql
deleted file mode 100644 (file)
index c35b8ae..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 追加クラスマスター
-INSERT INTO _addons
-(ao_id,     ao_class_name, ao_name,            ao_description, ao_opelog_hook) VALUES
-('wikilib', 'wikiLib',     'Wikiライブラリ', '', false);
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'bootstrap_cerulean_head';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_use_bootstrap, tm_available, tm_clean_type, tm_create_dt) VALUES
-('bootstrap_cerulean_head',             'bootstrap_cerulean_head',             10,       0,              false,     true,             true,        0,             now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2014072501_to_2014081701.sql b/include/sql/update/2014072501_to_2014081701.sql
deleted file mode 100644 (file)
index 7866590..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページIDマスター
-DELETE FROM _page_id WHERE pg_type = 1;
-INSERT INTO _page_id 
-(pg_id,          pg_type,      pg_name,                            pg_description,                       pg_priority, pg_active, pg_visible, pg_editable, pg_available) VALUES
-('front',        1,            'トップ画面',                       'トップ画面用',                       0,           true,      true,       true,        true),
-('content',      1,            'コンテンツ',                       'コンテンツ画面用',                   1,           true,      true,       false,       true),
-('shop',         1,            'ECショップ',                       'ECショップ画面用',                   2,           true,      true,       true,        true),
-('shop_safe',    1,            'ECショップ(セキュリティ保護)',     'ECショップ(セキュリティ保護)画面用', 3,           true,      true,       true,        true),
-('bbs',          1,            '掲示板',                           '掲示板画面用',                       4,           true,      true,       true,        true),
-('blog',         1,            'ブログ',                           'ブログ画面用',                       5,           true,      true,       true,        true),
-('wiki',         1,            'Wiki',                             'Wiki画面用',                         6,           true,      true,       true,        true),
-('event',        1,            'イベント',                         'イベント画面用',                     7,           true,      true,       true,        true),
-('photo',        1,            'フォトギャラリー',                   'フォトギャラリー画面用',           8,           true,      true,       true,        true),
-('contact',      1,            'お問い合わせ',                     'お問い合わせ画面用',                 9,           true,      true,       true,        true),
-('contact2',     1,            'お問い合わせ2',                    'お問い合わせ画面用',                 10,          true,      true,       true,        false),
-('reguser',      1,            'ユーザ登録',                       'ユーザ登録画面用',                   12,          true,      true,       true,        false),
-('reserve',      1,            '予約',                             '予約画面用',                         19,          true,      true,       true,        false),
-('member',       1,            '会員',                             '会員画面用',                         20,          true,      true,       true,        true),
-('search',       1,            '検索',                             '検索画面用',                         21,          true,      true,       true,        true),
-('user',         1,            'ユーザコンテンツ',                 'ユーザ作成コンテンツ用',             50,          true,      true,       true,        true),
-('deploy',       1,            'ウィジェット有効化用',             'ウィジェット有効化用',               100,         true,      false,      true,        false),
-('test',         1,            'ウィジェットテスト用',             'ウィジェットテスト用非公開画面',     101,         false,     true,       true,        false);
-
--- ページ情報マスター
-DELETE FROM _page_info;
-INSERT INTO _page_info
-(pn_id,       pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('index',     'content',   'content',       false),
-('index',     'shop',      'product',       false),
-('index',     'shop_safe', 'commerce',      true),
-('index',     'bbs',       'bbs',           false),
-('index',     'blog',      'blog',          false),
-('index',     'wiki',      'wiki',          false),
-('index',     'user',      'user',          false),
-('index',     'event',     'event',         false),
-('index',     'photo',     'photo',         false),
-('index',     'member',    'member',        true),
-('index',     'search',    'search',        false),
-('index',     'contact',   '',              true),
-('index',     'contact2',  '',              true),
-('index',     'safe',      '',              true),
-('m_index',   'content',   'content',       false),
-('m_index',   'shop',      'product',       false),
-('m_index',   'bbs',       'bbs',           false),
-('m_index',   'blog',      'blog',          false),
-('m_index',   'wiki',      'wiki',          false),
-('m_index',   'user',      'user',          false),
-('m_index',   'event',     'event',         false),
-('m_index',   'photo',     'photo',         false),
-('m_index',   'member',    'member',        true),
-('m_index',   'search',    'search',        false),
-('s_index',   'content',   'content',       false),
-('s_index',   'shop',      'product',       false),
-('s_index',   'shop_safe', 'commerce',      true),
-('s_index',   'bbs',       'bbs',           false),
-('s_index',   'blog',      'blog',          false),
-('s_index',   'wiki',      'wiki',          false),
-('s_index',   'user',      'user',          false),
-('s_index',   'event',     'event',         false),
-('s_index',   'photo',     'photo',         false),
-('s_index',   'member',    'member',        true),
-('s_index',   'search',    'search',        false),
-('s_index',   'contact',   '',              true),
-('s_index',   'contact2',  '',              true),
-('s_index',   'safe',      '',              true),
-('admin_index', 'front',   'dboard',        false),
-('connector', 'content',   'content',       false);
-
--- ウィジェットカテゴリマスター
-DELETE FROM _widget_category;
-INSERT INTO _widget_category
-(wt_id,        wt_name,                wt_sort_order) VALUES
-('',           'その他',               100),
-('content',    '汎用コンテンツ',       1),
-('blog',       'ブログ',               2),
-('bbs',        'BBS',                  3),
-('commerce',   'Eコマース',            4),
-('photo',      'フォトギャラリー',     5),
-('event',      'イベント情報',         6),
-('wiki',       'Wiki',                 7),
-('user',       'ユーザ作成コンテンツ', 8),
-('member',     '会員',                 9),
-('subcontent', '補助コンテンツ',       20),
-('search',     '検索',                 21),
-('menu',       'メニュー',             22),
-('image',      '画像',                 23),
-('design',     'デザイン',             24),
-('admin',      '管理画面用',           50);
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2014081701_to_2014092401.sql b/include/sql/update/2014081701_to_2014092401.sql
deleted file mode 100644 (file)
index 056c95c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 追加クラスマスター
-INSERT INTO _addons
-(ao_id,     ao_class_name, ao_name,            ao_description, ao_opelog_hook) VALUES
-('linkinfo', 'linkInfo',     'リンク情報', '', false);
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2014092401_to_2014100301.sql b/include/sql/update/2014092401_to_2014100301.sql
deleted file mode 100644 (file)
index 95ef864..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2014 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-DELETE FROM _system_config WHERE sc_id = 'site_logo_filename';
-DELETE FROM _system_config WHERE sc_id = 'avatar_format';
-INSERT INTO _system_config 
-(sc_id,                sc_value,                            sc_name) VALUES
-('site_logo_filename', 'sm=logo_80c.png;lg=logo_200c.png',  'サイトロゴファイル名(廃止)'),
-('site_logo_format',   'sm=80c.png;lg=200c.png',            'サイトロゴ仕様'),
-('avatar_format',      'sm=32c.png;md=80c.png;lg=128c.png', 'アバター仕様');
-
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2014100301_to_2015011701.sql b/include/sql/update/2014100301_to_2015011701.sql
deleted file mode 100644 (file)
index d76391b..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページIDマスター
-DELETE FROM _page_id WHERE pg_type = 1;
-INSERT INTO _page_id 
-(pg_id,          pg_type,      pg_name,                            pg_description,                       pg_priority, pg_active, pg_visible, pg_editable, pg_available) VALUES
-('front',        1,            'トップ画面',                       'トップ画面用',                       0,           true,      true,       true,        true),
-('content',      1,            'コンテンツ',                       'コンテンツ画面用',                   1,           true,      true,       false,       true),
-('shop',         1,            'ECショップ',                       'ECショップ画面用',                   2,           true,      true,       true,        true),
-('shop_safe',    1,            'ECショップ(セキュリティ保護)',     'ECショップ(セキュリティ保護)画面用', 3,           true,      true,       true,        true),
-('bbs',          1,            '掲示板',                           '掲示板画面用',                       4,           true,      true,       true,        true),
-('blog',         1,            'ブログ',                           'ブログ画面用',                       5,           true,      true,       true,        true),
-('wiki',         1,            'Wiki',                             'Wiki画面用',                         6,           true,      true,       true,        true),
-('calendar',     1,            'カレンダー',                       'カレンダー画面用',                   7,           true,      true,       true,        true),
-('event',        1,            'イベント情報',                     'イベント情報画面用',                 8,           true,      true,       true,        true),
-('photo',        1,            'フォトギャラリー',                 'フォトギャラリー画面用',             9,           true,      true,       true,        true),
-('contact',      1,            'お問い合わせ',                     'お問い合わせ画面用',                 10,          true,      true,       true,        true),
-('contact2',     1,            'お問い合わせ2',                    'お問い合わせ画面用',                 11,          true,      true,       true,        false),
-('reguser',      1,            'ユーザ登録',                       'ユーザ登録画面用',                   12,          true,      true,       true,        false),
-('reserve',      1,            '予約',                             '予約画面用',                         19,          true,      true,       true,        false),
-('member',       1,            '会員',                             '会員画面用',                         20,          true,      true,       true,        true),
-('search',       1,            '検索',                             '検索画面用',                         21,          true,      true,       true,        true),
-('user',         1,            'ユーザコンテンツ',                 'ユーザ作成コンテンツ用',             50,          true,      true,       true,        true),
-('deploy',       1,            'ウィジェット有効化用',             'ウィジェット有効化用',               100,         true,      false,      true,        false),
-('test',         1,            'ウィジェットテスト用',             'ウィジェットテスト用非公開画面',     101,         false,     true,       true,        false);
-
--- ページ情報マスター
-DELETE FROM _page_info;
-INSERT INTO _page_info
-(pn_id,       pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('index',     'content',   'content',       false),
-('index',     'shop',      'product',       false),
-('index',     'shop_safe', 'commerce',      true),
-('index',     'bbs',       'bbs',           false),
-('index',     'blog',      'blog',          false),
-('index',     'wiki',      'wiki',          false),
-('index',     'user',      'user',          false),
-('index',     'calendar',  'calendar',      false),
-('index',     'event',     'event',         false),
-('index',     'photo',     'photo',         false),
-('index',     'member',    'member',        true),
-('index',     'search',    'search',        false),
-('index',     'contact',   '',              true),
-('index',     'contact2',  '',              true),
-('index',     'safe',      '',              true),
-('m_index',   'content',   'content',       false),
-('m_index',   'shop',      'product',       false),
-('m_index',   'bbs',       'bbs',           false),
-('m_index',   'blog',      'blog',          false),
-('m_index',   'wiki',      'wiki',          false),
-('m_index',   'user',      'user',          false),
-('m_index',   'calendar',  'calendar',      false),
-('m_index',   'event',     'event',         false),
-('m_index',   'photo',     'photo',         false),
-('m_index',   'member',    'member',        true),
-('m_index',   'search',    'search',        false),
-('s_index',   'content',   'content',       false),
-('s_index',   'shop',      'product',       false),
-('s_index',   'shop_safe', 'commerce',      true),
-('s_index',   'bbs',       'bbs',           false),
-('s_index',   'blog',      'blog',          false),
-('s_index',   'wiki',      'wiki',          false),
-('s_index',   'user',      'user',          false),
-('s_index',   'calendar',  'calendar',      false),
-('s_index',   'event',     'event',         false),
-('s_index',   'photo',     'photo',         false),
-('s_index',   'member',    'member',        true),
-('s_index',   'search',    'search',        false),
-('s_index',   'contact',   '',              true),
-('s_index',   'contact2',  '',              true),
-('s_index',   'safe',      '',              true),
-('admin_index', 'front',   'dboard',        false),
-('connector', 'content',   'content',       false);
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2015011701_to_2015012101.sql b/include/sql/update/2015011701_to_2015012101.sql
deleted file mode 100644 (file)
index 28ede86..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                       sc_value,         sc_name) VALUES
-('google_api_key',           '',               'GoogleAPIキー');
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2015012101_to_2015020201.sql b/include/sql/update/2015012101_to_2015020201.sql
deleted file mode 100644 (file)
index f19837c..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-DELETE FROM _system_config WHERE sc_id = 'thumb_format';
-INSERT INTO _system_config 
-(sc_id,                          sc_value,                  sc_name) VALUES
-('thumb_format', '72c.jpg;80c.jpg;200c.jpg',   'コンテンツ用サムネール仕様');
-
-
--- *** システム標準テーブル ***
-
--- ブログ設定マスター
-DELETE FROM blog_config WHERE bg_id = 'entry_default_image';
-INSERT INTO blog_config
-(bg_id,                     bg_value,                         bg_name,              bg_index) VALUES
-('entry_default_image',     '0_72c.jpg;0_80c.jpg;0_200c.jpg', '記事デフォルト画像', 0);
diff --git a/include/sql/update/2015020201_to_2015021001.sql b/include/sql/update/2015020201_to_2015021001.sql
deleted file mode 100644 (file)
index 6161d73..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                 sc_value,    sc_name) VALUES
-('upload_image_autoresize', '1',         'アップロード画像の自動リサイズ'),
-('upload_image_autoresize_max_width', '1024',         'アップロード画像自動リサイズの最大幅'),
-('upload_image_autoresize_max_height', '1024',         'アップロード画像自動リサイズの最大高さ');
-
-DELETE FROM _system_config WHERE sc_id = 'thumb_format';
-INSERT INTO _system_config 
-(sc_id,                          sc_value,                  sc_name) VALUES
-('thumb_format', '72c.jpg;80c.jpg;80x60c.jpg;160x120c.jpg;200x150c.jpg;200c.jpg',   'コンテンツ用サムネール仕様');
-
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_css             TEXT                                         NOT NULL;      -- CSS
-ALTER TABLE _page_def ADD pd_param           TEXT                                         NOT NULL;      -- パラメータオブジェクトをシリアライズしたもの
-
--- *** システム標準テーブル ***
--- ブログ設定マスター
-INSERT INTO blog_config
-(bg_id,                     bg_value,                         bg_name,              bg_index) VALUES
-('thumb_type',     's=80c.jpg;mw=160x120c.jpg;l=200c.jpg', '記事サムネールタイプ', 0);
-
diff --git a/include/sql/update/2015021001_to_2015030801.sql b/include/sql/update/2015021001_to_2015030801.sql
deleted file mode 100644 (file)
index 6613828..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- *** システム標準テーブル ***
--- イベント設定マスター
-DELETE FROM event_config;
-INSERT INTO event_config
-(eg_id,                     eg_value,    eg_name,                              eg_index) VALUES
-('entry_view_count',        '10',        '記事表示数',                         3),
-('entry_view_order',        '0',         '記事表示順',                         4),
-('top_contents',            'これからのイベントを表示します。',          'トップ画面コンテンツ',               6),
-('category_count',          '2',         '記事に設定可能なカテゴリ数',         10),
-('thumb_type',              's=80c.jpg;mw=160x120c.jpg;l=200c.jpg', '記事サムネールタイプ定義', 0),
-('entry_default_image',     '0_72c.jpg;0_80c.jpg;0_200c.jpg',       '記事デフォルト画像', 0),
-('msg_no_entry',            'イベント記事は登録されていません',     'イベント記事が登録されていないメッセージ',                 0),
-('msg_find_no_entry',       'イベント記事が見つかりません',         'イベント記事が見つからないメッセージ',                 0),
-('msg_no_entry_in_future',  '今後のイベントはありません',           '予定イベントなし時メッセージ',                 0),
-('layout_entry_single',     '<div class="entry_head"><span class="event_date">日時:[#DATE#]</span><span class="event_location">場所:[#CT_LOCATION#]</span><div><span class="event_contact">連絡先:[#CT_CONTACT#]</span></div><div><span class="event_url">URL:[#CT_INFO_URL:autolink=true;#]</span></div></div><div class="entry_content">[#BODY#][#RESULT#]</div>[#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)',               0),
-('layout_entry_list',       '[#TITLE#]<div class="entry_head"><span class="event_date">日時:[#DATE#]</span><span class="event_location">場所:[#CT_LOCATION#]</span><div>[#DETAIL_LINK#]</div></div><div class="entry_content">[#BODY#]</div>[#CATEGORY#]', 'コンテンツレイアウト(記事一覧)',               0),
-('output_head',      '0', 'HTMLヘッダ出力', 0),
-('head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)',               0);
-
--- イベント記事マスター
-ALTER TABLE event_entry ADD ee_thumb_filename    TEXT                                         NOT NULL;      -- サムネールファイル名(「;」区切り)
-ALTER TABLE event_entry ADD ee_option_fields     TEXT                                         NOT NULL;      -- 追加フィールド
-ALTER TABLE event_entry ADD ee_related_content   TEXT                                         NOT NULL;      -- 関連コンテンツID(「,」区切り)
\ No newline at end of file
diff --git a/include/sql/update/2015030801_to_2015032901.sql b/include/sql/update/2015030801_to_2015032901.sql
deleted file mode 100644 (file)
index 93ccbb5..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_view_page_state INT            DEFAULT 0                     NOT NULL;      -- ページ状況での表示制御タイプ(0=常時表示、1=トップ時のみ表示)
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2015032901_to_2015033001.sql b/include/sql/update/2015032901_to_2015033001.sql
deleted file mode 100644 (file)
index 4aae81e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'art42_sample3';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_use_bootstrap, tm_available, tm_clean_type, tm_create_dt) VALUES
-('art42_sample3',                 'art42_sample3',                 2,       0,              false,     false,            true,         0,             now());
-
--- *** システム標準テーブル ***
diff --git a/include/sql/update/2015033001_to_2015042101.sql b/include/sql/update/2015033001_to_2015042101.sql
deleted file mode 100644 (file)
index 6088f21..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'art42_sample4';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_use_bootstrap, tm_available, tm_clean_type, tm_create_dt) VALUES
-('art42_sample4',                 'art42_sample4',                 2,       0,              false,     false,            true,         0,             now());
-
-
--- *** システム標準テーブル ***
--- イベント記事マスター
-ALTER TABLE event_entry MODIFY ee_summary TEXT NOT NULL;      -- 概要
-ALTER TABLE event_entry MODIFY ee_place TEXT NOT NULL;        -- 場所
-ALTER TABLE event_entry MODIFY ee_contact TEXT NOT NULL;      -- 連絡先(Eメール,電話番号)
-
--- イベント設定マスター
-DELETE FROM event_config WHERE eg_id = 'layout_entry_single';
-DELETE FROM event_config WHERE eg_id = 'layout_entry_list';
-INSERT INTO event_config
-(eg_id,                     eg_value,    eg_name,                              eg_index) VALUES
-('layout_entry_single',     '<div class="entry_head"><span class="event_date">日時:[#DATE#]</span><span class="event_location">場所:[#CT_PLACE#]</span><div><span class="event_contact">連絡先:[#CT_CONTACT#]</span></div><div><span class="event_url">URL:[#CT_INFO_URL:autolink=true;#]</span></div></div><div class="entry_content">[#BODY#][#RESULT#]</div>[#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)',               0),
-('layout_entry_list',       '[#TITLE#]<div class="entry_head"><span class="event_date">日時:[#DATE#]</span><span class="event_location">場所:[#CT_PLACE#]</span><div>[#DETAIL_LINK#]</div></div><div class="entry_content">[#BODY#]</div>[#CATEGORY#]', 'コンテンツレイアウト(記事一覧)',               0);
diff --git a/include/sql/update/2015042101_to_2015042801.sql b/include/sql/update/2015042101_to_2015042801.sql
deleted file mode 100644 (file)
index cc54dd2..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-DELETE FROM _system_config WHERE sc_id = 'default_h_tag_level';
-INSERT INTO _system_config 
-(sc_id,                 sc_value, sc_name) VALUES
-('default_h_tag_level', '2',      'ウィジェットのHタグレベル');
-
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_h_tag_level INT            DEFAULT 0                     NOT NULL;      -- タイトル用のHタグのトップレベル(0=設定なし、0以外=Hタグレベル)
-
--- ページIDマスター
-DELETE FROM _page_id WHERE pg_type = 1;
-INSERT INTO _page_id 
-(pg_id,          pg_type,      pg_name,                            pg_description,                       pg_priority, pg_active, pg_visible, pg_editable, pg_available) VALUES
-('front',        1,            'トップ画面',                       'トップ画面用',                       0,           true,      true,       true,        true),
-('content',      1,            'コンテンツ',                       'コンテンツ画面用',                   1,           true,      true,       false,       true),
-('shop',         1,            'ECショップ',                       'ECショップ画面用',                   2,           true,      true,       true,        true),
-('shop_safe',    1,            'ECショップ(セキュリティ保護)',     'ECショップ(セキュリティ保護)画面用', 3,           true,      true,       true,        true),
-('bbs',          1,            '掲示板',                           '掲示板画面用',                       4,           true,      true,       true,        true),
-('blog',         1,            'ブログ',                           'ブログ画面用',                       5,           true,      true,       true,        true),
-('wiki',         1,            'Wiki',                             'Wiki画面用',                         6,           true,      true,       true,        true),
-('calendar',     1,            'カレンダー',                       'カレンダー画面用',                   7,           true,      true,       true,        true),
-('event',        1,            'イベント情報',                     'イベント情報画面用',                 8,           true,      true,       true,        true),
-('photo',        1,            'フォトギャラリー',                 'フォトギャラリー画面用',             9,           true,      true,       true,        true),
-('contact',      1,            'お問い合わせ',                     'お問い合わせ画面用',                 10,          true,      true,       true,        true),
-('contact2',     1,            'お問い合わせ2',                    'お問い合わせ画面用',                 11,          true,      true,       true,        false),
-('reguser',      1,            'ユーザ登録',                       'ユーザ登録画面用',                   12,          true,      true,       true,        false),
-('reserve',      1,            '予約',                             '予約画面用',                         19,          true,      true,       true,        false),
-('member',       1,            '会員',                             '会員画面用',                         20,          true,      true,       true,        true),
-('evententry',   1,            'イベント予約',                     'イベント予約画面用',                 21,          true,      true,       true,        true),
-('search',       1,            '検索',                             '検索画面用',                         22,          true,      true,       true,        true),
-('user',         1,            'ユーザコンテンツ',                 'ユーザ作成コンテンツ用',             50,          true,      true,       true,        true),
-('deploy',       1,            'ウィジェット有効化用',             'ウィジェット有効化用',               100,         true,      false,      true,        false),
-('test',         1,            'ウィジェットテスト用',             'ウィジェットテスト用非公開画面',     101,         false,     true,       true,        false);
-
--- ページ情報マスター
-DELETE FROM _page_info;
-INSERT INTO _page_info
-(pn_id,       pn_sub_id,   pn_content_type, pn_use_ssl) VALUES
-('index',     'content',   'content',       false),
-('index',     'shop',      'product',       false),
-('index',     'shop_safe', 'commerce',      true),
-('index',     'bbs',       'bbs',           false),
-('index',     'blog',      'blog',          false),
-('index',     'wiki',      'wiki',          false),
-('index',     'user',      'user',          false),
-('index',     'calendar',  'calendar',      false),
-('index',     'event',     'event',         false),
-('index',     'photo',     'photo',         false),
-('index',     'member',    'member',        true),
-('index',     'evententry','evententry',    false),
-('index',     'search',    'search',        false),
-('index',     'contact',   '',              true),
-('index',     'contact2',  '',              true),
-('index',     'safe',      '',              true),
-('m_index',   'content',   'content',       false),
-('m_index',   'shop',      'product',       false),
-('m_index',   'bbs',       'bbs',           false),
-('m_index',   'blog',      'blog',          false),
-('m_index',   'wiki',      'wiki',          false),
-('m_index',   'user',      'user',          false),
-('m_index',   'calendar',  'calendar',      false),
-('m_index',   'event',     'event',         false),
-('m_index',   'photo',     'photo',         false),
-('m_index',   'member',    'member',        true),
-('m_index',   'evententry','evententry',    false),
-('m_index',   'search',    'search',        false),
-('s_index',   'content',   'content',       false),
-('s_index',   'shop',      'product',       false),
-('s_index',   'shop_safe', 'commerce',      true),
-('s_index',   'bbs',       'bbs',           false),
-('s_index',   'blog',      'blog',          false),
-('s_index',   'wiki',      'wiki',          false),
-('s_index',   'user',      'user',          false),
-('s_index',   'calendar',  'calendar',      false),
-('s_index',   'event',     'event',         false),
-('s_index',   'photo',     'photo',         false),
-('s_index',   'member',    'member',        true),
-('s_index',   'evententry','evententry',    false),
-('s_index',   'search',    'search',        false),
-('s_index',   'contact',   '',              true),
-('s_index',   'contact2',  '',              true),
-('s_index',   'safe',      '',              true),
-('admin_index', 'front',   'dboard',        false),
-('connector', 'content',   'content',       false);
-
--- 追加クラスマスター
-INSERT INTO _addons
-(ao_id,       ao_class_name, ao_name,            ao_description, ao_opelog_hook) VALUES
-('eventlib', 'eventLib',   'イベント情報ライブラリ', '', false);
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'art42_sample5';
-INSERT INTO _templates
-(tm_id,                           tm_name,                         tm_type, tm_device_type, tm_mobile, tm_use_bootstrap, tm_available, tm_clean_type, tm_create_dt) VALUES
-('art42_sample5',                 'art42_sample5',                 2,       0,              false,     false,            true,         0,             now());
-
diff --git a/include/sql/update/2015042801_to_2015052601.sql b/include/sql/update/2015042801_to_2015052601.sql
deleted file mode 100644 (file)
index 06262e0..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- 定型メールフォーム
-ALTER TABLE _mail_form ADD mf_name           VARCHAR(100)   DEFAULT ''                    NOT NULL;      -- フォーム名
-ALTER TABLE _mail_form ADD mf_admin          BOOLEAN        DEFAULT false                 NOT NULL;      -- 管理用専用かどうか
-
--- 定型メールフォーム
-DELETE FROM _mail_form WHERE mf_id = 'regist_user_auto';
-INSERT INTO _mail_form (mf_id,              mf_language_id, mf_name, mf_subject,         mf_content,                                                                 mf_create_dt) 
-VALUES                 ('regist_user_auto', 'ja',           '会員自動登録', '[[#SITE_NAME#]] 会員登録 ([#ACCOUNT#])',       'ご登録ありがとうございます。\nパスワードを送信します。\nこのパスワードでログインすると会員として承認されます。\n\n[#URL#]\n\nパスワード: [#PASSWORD#]', now());
-DELETE FROM _mail_form WHERE mf_id = 'regist_user_auth';
-INSERT INTO _mail_form (mf_id,              mf_language_id, mf_name, mf_subject,         mf_content,                                                                 mf_create_dt) 
-VALUES                 ('regist_user_auth', 'ja',           '会員承認登録', '[[#SITE_NAME#]] 会員登録 ([#ACCOUNT#])',       'ご登録ありがとうございます。\nパスワードを送信します。\n管理者からの承認後、このパスワードでログイン可能になります。\n\nパスワード: [#PASSWORD#]', now());
-DELETE FROM _mail_form WHERE mf_id = 'regist_user_auth_a';
-INSERT INTO _mail_form (mf_id,              mf_language_id, mf_name, mf_subject,         mf_content,                  mf_admin,                                               mf_create_dt) 
-VALUES                 ('regist_user_auth_a', 'ja',           '会員承認登録(管理者用)', '=> [[#SITE_NAME#]] 会員登録 ([#ACCOUNT#])',       '承認が必要な会員の登録がありました。\n会員管理画面からユーザを承認して下さい。\n\n[#URL#]', true, now());
-DELETE FROM _mail_form WHERE mf_id = 'regist_user_auto_completed';
-INSERT INTO _mail_form (mf_id,                   mf_language_id, mf_name, mf_subject,         mf_content,                                                                 mf_create_dt) 
-VALUES                 ('regist_user_auto_completed', 'ja',           '会員自動登録完了', '[[#SITE_NAME#]] 会員自動登録完了 ([#ACCOUNT#])',   '会員の登録を承認しました。\n\nアカウント: [#ACCOUNT#]', now());
-DELETE FROM _mail_form WHERE mf_id = 'regist_user_auth_completed';
-INSERT INTO _mail_form (mf_id,                   mf_language_id, mf_name, mf_subject,         mf_content,                                                                 mf_create_dt) 
-VALUES                 ('regist_user_auth_completed', 'ja',           '会員承認登録完了', '[[#SITE_NAME#]] 会員登録完了 ([#ACCOUNT#])',   '会員の登録を承認しました。\n\nアカウント: [#ACCOUNT#]', now());
-
--- イベント予約設定マスター
-DROP TABLE IF EXISTS evententry_config;
-CREATE TABLE evententry_config (
-    ef_id                VARCHAR(30)    DEFAULT ''                    NOT NULL,      -- ID(Key)
-    ef_value             TEXT                                         NOT NULL,      -- 値
-    ef_name              VARCHAR(50)    DEFAULT ''                    NOT NULL,      -- 名称
-    ef_description       VARCHAR(80)    DEFAULT ''                    NOT NULL,      -- 説明
-    ef_index             INT            DEFAULT 0                     NOT NULL,      -- ソート用
-    PRIMARY KEY          (ef_id)
-) ENGINE=innodb;
-
-INSERT INTO evententry_config
-(ef_id,                  ef_value,    ef_name) VALUES
-('show_entry_count',     '0',         '参加者数を表示するかどうか'),
-('show_entry_member',    '0',         '参加者を表示するかどうか(会員対象)'),
-('enable_cancel',        '0',         'キャンセル機能を使用可能にするかどうか');
-
--- イベント予約マスター
-DROP TABLE IF EXISTS evententry;
-CREATE TABLE evententry (
-    et_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    et_id                INT            DEFAULT 0                     NOT NULL,      -- イベント予約ID
-    et_history_index     INT            DEFAULT 0                     NOT NULL,      -- 履歴管理用インデックスNo(0~)
-    
-    et_event_id          VARCHAR(32)    DEFAULT ''                    NOT NULL,      -- イベントID
-    et_type              VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 受付タイプ
-    et_code              VARCHAR(40)    DEFAULT ''                    NOT NULL,      -- イベント予約受付コード
-    et_html              TEXT                                         NOT NULL,      -- 説明
-    et_status            SMALLINT       DEFAULT 0                     NOT NULL,      -- 状態(0=未設定、1=非公開、2=受付中、3=受付停止、4=受付終了)
-    et_show_entry_count  BOOLEAN        DEFAULT true                  NOT NULL,      -- 参加者数を表示するかどうか
-    et_show_entry_member BOOLEAN        DEFAULT true                  NOT NULL,      -- 参加者を表示するかどうか(会員対象)
-    et_enable_cancel     BOOLEAN        DEFAULT true                  NOT NULL,      -- キャンセル機能を使用可能にするかどうか
-    et_max_entry         INT            DEFAULT 0                     NOT NULL,      -- 定員(0は定員なし)
-    et_start_dt          TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 受付期間(開始)
-    et_end_dt            TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- 受付期間(終了)
-    
-    et_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    et_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    et_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    et_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    et_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (et_serial),
-    UNIQUE               (et_id,        et_history_index)
-) ENGINE=innodb;
-
--- イベント予約要求トラン
-DROP TABLE IF EXISTS evententry_request;
-CREATE TABLE evententry_request (
-    er_serial            INT            AUTO_INCREMENT,                              -- レコードシリアル番号
-    er_evententry_id     INT            DEFAULT 0                     NOT NULL,      -- イベント予約ID
-    er_index             INT            DEFAULT 0                     NOT NULL,      -- インデックス番号(1~)
-    
-    er_code              VARCHAR(20)    DEFAULT ''                    NOT NULL,      -- 受付コード
-    er_user_id           INT            DEFAULT 0                     NOT NULL,      -- 参加者
-    er_status            SMALLINT       DEFAULT 0                     NOT NULL,      -- 状態(0=未設定、1=参加、2=キャンセル)
-    
-    er_create_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード作成者
-    er_create_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード作成日時
-    er_update_user_id    INT            DEFAULT 0                     NOT NULL,      -- レコード更新者
-    er_update_dt         TIMESTAMP      DEFAULT '0000-00-00 00:00:00' NOT NULL,      -- レコード更新日時
-    er_deleted           BOOLEAN        DEFAULT false                 NOT NULL,      -- レコード削除状態
-    PRIMARY KEY          (er_serial),
-    UNIQUE               (er_evententry_id,   er_index)
-) ENGINE=innodb;
-
-
diff --git a/include/sql/update/2015052601_to_2015060201.sql b/include/sql/update/2015052601_to_2015060201.sql
deleted file mode 100644 (file)
index 3def5b1..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- イベント予約設定マスター
-DELETE FROM evententry_config WHERE ef_id = 'layout_entry_single';
-DELETE FROM evententry_config WHERE ef_id = 'msg_entry_exceed_max';
-DELETE FROM evententry_config WHERE ef_id = 'msg_entry_out_of_term';
-DELETE FROM evententry_config WHERE ef_id = 'msg_entry_term_expired';
-DELETE FROM evententry_config WHERE ef_id = 'msg_entry_stopped';
-DELETE FROM evententry_config WHERE ef_id = 'msg_entry_closed';
-DELETE FROM evententry_config WHERE ef_id = 'msg_event_closed';
-DELETE FROM evententry_config WHERE ef_id = 'msg_entry_user_registered';
-INSERT INTO evententry_config
-(ef_id,                 ef_value,    ef_name) VALUES
-('layout_entry_single', '<div class="entry_info"><div style="float:left;">[#IMAGE#]</div><div class="clearfix"><div>[#CT_SUMMARY#]</div></div><div><span class="event_date">日時:[#DATE#]</span> <span class="event_location">場所:[#CT_PLACE#]</span></div><div><span class="event_contact">連絡先:[#CT_CONTACT#]</span></div></div><div class="evententry_content">[#BODY#]</div><div class="evententry_info"><div>定員: [#CT_QUOTA#]</div><div>参加: [#CT_ENTRY_COUNT#]</div></div><div><strong>会員名: [#CT_MEMBER_NAME#]</strong></div>[#BUTTON|type=ok;title=予約する|予約済み#]',         'レイアウト(記事詳細)'),
-('msg_entry_exceed_max',     '予約が定員に達しました',     '予約定員オーバーメッセージ'),
-('msg_entry_out_of_term',   '受付期間外です',     '受付期間外メッセージ'),
-('msg_entry_term_expired',   '受付期間を終了しました',     '受付期間終了メッセージ'),
-('msg_entry_stopped',        '受付は一時中断しています',   '受付中断メッセージ'),
-('msg_entry_closed',         '受付を終了しました',         '受付終了メッセージ'),
-('msg_event_closed',         'イベントは終了しました',         'イベント終了メッセージ'),
-('msg_entry_user_registered',       'このイベントを予約しました', '予約済みメッセージ');
-
-
diff --git a/include/sql/update/2015060201_to_2015061201.sql b/include/sql/update/2015060201_to_2015061201.sql
deleted file mode 100644 (file)
index 8a5abbb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- 管理画面ナビゲーション項目マスター
-ALTER TABLE _nav_item DROP PRIMARY KEY;                                                                 -- プライマリーキー削除
-ALTER TABLE _nav_item DROP INDEX ni_nav_id;                                                                    -- ユニーク制約削除
-ALTER TABLE _nav_item ADD PRIMARY KEY (ni_nav_id, ni_id);                                              -- プライマリーキー再設定
-ALTER TABLE _nav_item MODIFY ni_name              TEXT                                         NOT NULL;      -- 名前
-ALTER TABLE _nav_item ADD ni_url               TEXT                                         NOT NULL;      -- リンク先URL
-
--- Wiki設定マスター
-DELETE FROM wiki_config;
-INSERT INTO wiki_config
-(wg_id,                     wg_value,    wg_name) VALUES
-('password',                '',          '共通パスワード'),
-('default_page',            'FrontPage', 'デフォルトページ'),
-('auth_type',               'admin',     '認証タイプ'),
-('show_page_title',         '1',         'タイトル表示するかどうか'),
-('show_page_related',       '1',         '関連ページを表示するかどうか'),
-('show_page_attach_files',  '1',         '添付ファイルを表示するかどうか'),
-('show_page_last_modified', '1',         '最終更新を表示するかどうか'),
-('show_toolbar_for_all_user', '0',         'すべてのユーザにツールバーを表示するかどうか');
-
diff --git a/include/sql/update/2015061201_to_2015062901.sql b/include/sql/update/2015061201_to_2015062901.sql
deleted file mode 100644 (file)
index 6553d96..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- Wiki設定マスター
-DELETE FROM wiki_config;
-INSERT INTO wiki_config
-(wg_id,                     wg_value,        wg_name) VALUES
-('password',                '',              '共通パスワード'),
-('default_page',            'FrontPage',     'デフォルトページ'),
-('whatsnew_page',           'RecentChanges', '最終更新ページ'),
-('whatsdeleted_page',       'RecentDeleted', '最終削除ページ'),
-('auth_type',               'admin',     '認証タイプ'),
-('show_page_title',         '1',         'タイトル表示するかどうか'),
-('show_page_related',       '1',         '関連ページを表示するかどうか'),
-('show_page_attach_files',  '1',         '添付ファイルを表示するかどうか'),
-('show_page_last_modified', '1',         '最終更新を表示するかどうか'),
-('show_toolbar_for_all_user', '0',         'すべてのユーザにツールバーを表示するかどうか');
-
diff --git a/include/sql/update/2015062901_to_2015070201.sql b/include/sql/update/2015062901_to_2015070201.sql
deleted file mode 100644 (file)
index 19430c3..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ユーザアクセスログトラン
-ALTER TABLE _access_log ADD al_is_cmd      BOOLEAN        DEFAULT false                 NOT NULL;      -- コマンド実行かどうか
diff --git a/include/sql/update/2015070201_to_2015072701.sql b/include/sql/update/2015070201_to_2015072701.sql
deleted file mode 100644 (file)
index 7c8b34e..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- Wiki設定マスター
-DELETE FROM wiki_config;
-INSERT INTO wiki_config
-(wg_id,                     wg_value,        wg_name) VALUES
-('password',                '',              '共通パスワード'),
-('default_page',            'FrontPage',     'デフォルトページ'),
-('whatsnew_page',           'RecentChanges', '最終更新ページ'),
-('whatsdeleted_page',       'RecentDeleted', '最終削除ページ'),
-('auth_type',               'admin',     '認証タイプ'),
-('show_page_title',         '1',         'タイトルを表示するかどうか'),
-('show_page_url',         '1',         'URLを表示するかどうか'),
-('show_page_related',       '1',         '関連ページを表示するかどうか'),
-('show_page_attach_files',  '1',         '添付ファイルを表示するかどうか'),
-('show_page_last_modified', '1',         '最終更新を表示するかどうか'),
-('show_toolbar_for_all_user', '0',         'すべてのユーザにツールバーを表示するかどうか'),
-('user_limited_freeze',       '0',         '凍結・解凍機能のユーザ制限'),
-('show_auto_heading_anchor',       '1',         '見出し自動アンカー'),
-('layout_main',             '<article><header>[#TITLE#][#URL#]</header>[#TOOLBAR#][#BODY#]</article>[#TOOLBAR#][#FILES|pretag=----#][#UPDATES|pretag=----#][#LINKS#]', 'ページレイアウト(メイン)');
diff --git a/include/sql/update/2015072701_to_2015080601.sql b/include/sql/update/2015072701_to_2015080601.sql
deleted file mode 100644 (file)
index d41f985..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- Wiki設定マスター
-DELETE FROM wiki_config;
-INSERT INTO wiki_config
-(wg_id,                     wg_value,        wg_name) VALUES
-('password',                '',              '共通パスワード'),
-('default_page',            'FrontPage',     'デフォルトページ'),
-('whatsnew_page',           'RecentChanges', '最終更新ページ'),
-('whatsdeleted_page',       'RecentDeleted', '最終削除ページ'),
-('auth_type',               'admin',     '認証タイプ'),
-('show_page_title',         '1',         'タイトルを表示するかどうか'),
-('show_page_url',         '1',         'URLを表示するかどうか'),
-('show_page_related',       '1',         '関連ページを表示するかどうか'),
-('show_page_attach_files',  '1',         '添付ファイルを表示するかどうか'),
-('show_page_last_modified', '1',         '最終更新を表示するかどうか'),
-('show_toolbar_for_all_user', '0',         'すべてのユーザにツールバーを表示するかどうか'),
-('user_limited_freeze',       '0',         '凍結・解凍機能のユーザ制限'),
-('show_auto_heading_anchor',       '1',         '見出し自動アンカー'),
-('layout_main',             '<article><header>[#TITLE#][#URL#]</header>[#TOOLBAR#][#BODY#]</article>[#TOOLBAR#][#FILES|pretag=----#][#UPDATES|pretag=----#][#LINKS#]', 'ページレイアウト(メイン)'),
-('date_format', 'Y-m-d',         '日付フォーマット'),
-('time_format', 'H:i:s',         '時間フォーマット'),
-('show_username', '0',         'ユーザ名を表示するかどうか'),
-('auto_link_wikiname', '1',         'Wiki名を自動リンクするかどうか'),
-('recent_changes_count', '100',         '最終更新ページ最大項目数'),
-('recent_deleted_count', '100',         '最終削除ページ最大項目数'),
-('upload_filesize',   '1M',             'アップロードファイルの最大サイズ(バイト数)');
diff --git a/include/sql/update/2015080601_to_2015082501.sql b/include/sql/update/2015080601_to_2015082501.sql
deleted file mode 100644 (file)
index 6ffbab6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,                  sc_name) VALUES
-('default_sub_template',            '',            'PCフロント画面用デフォルトサブテンプレート');
-
--- ページ情報マスター
-ALTER TABLE _page_info ADD pn_sub_template_id           VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- サブテンプレートID
-
--- テンプレート情報マスター
-ALTER TABLE _templates ADD tm_generator      VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- テンプレート作成アプリケーション(値=artisteer,themler)
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'themler_sample1';
-INSERT INTO _templates
-(tm_id,                    tm_name,                 tm_type, tm_generator, tm_version) VALUES
-('themler_sample1',        'themler_sample1',       2,       'themler',    '1.0.39');
-
diff --git a/include/sql/update/2015082501_to_2015100101.sql b/include/sql/update/2015082501_to_2015100101.sql
deleted file mode 100644 (file)
index d49cdff..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 多言語対応文字列マスター
-TRUNCATE TABLE _language_string;
-INSERT INTO _language_string
-(ls_type, ls_id,                           ls_language_id, ls_value,                             ls_name) VALUES
-(0,       'msg_site_in_maintenance',       'ja',           'ただいまサイトのメンテナンス中です', 'メンテナンス中メッセージ'),
-(0,       'msg_access_deny',               'ja',           'アクセスできません',                 'アクセス不可メッセージ'),
-(0,       'msg_page_not_found',            'ja',           'ページが見つかりません',                 '存在しないページメッセージ'),
-(1,       'word_account',                  'ja',           'ID(Eメール)',                        'アカウント'),
-(2,       'dboard',      'ja',           'ダッシュボード',       'ダッシュボード'),
-(2,       'search',      'ja',           '検索結果',             '検索結果'),
-(2,       'news',        'ja',           '新着情報',             '新着情報'),
-(2,       'commerce',    'ja',           'Eコマース',            'Eコマース'),
-(2,       'content',     'ja',           '汎用コンテンツ',       '汎用コンテンツ'),
-(2,       'product',     'ja',           '商品情報',             '商品情報'),
-(2,       'bbs',         'ja',           'BBS',                  'BBS'),
-(2,       'blog',        'ja',           'ブログ',               'ブログ'),
-(2,       'wiki',        'ja',           'Wiki',                 'Wiki'),
-(2,       'user',        'ja',           'ユーザ作成コンテンツ', 'ユーザ作成コンテンツ'),
-(2,       'event',       'ja',           'イベント情報',         'イベント情報'),
-(2,       'photo',       'ja',           'フォトギャラリー',     'フォトギャラリー'),
-(10,      'COM_CONTENT_CREATED_DATE_ON',   'ja',           '作成日:%s',         ''),
-(10,      'COM_CONTENT_LAST_UPDATED',      'ja',           '更新日:%s',         ''),
-(10,      'COM_CONTENT_PUBLISHED_DATE_ON', 'ja',           '公開日:%s',         ''),
-(10,      'COM_CONTENT_WRITTEN_BY',        'ja',           '作者:%s',           ''),
-(10,      'COM_CONTENT_CATEGORY',          'ja',           'カテゴリー:%s',     ''),
-(10,      'COM_CONTENT_ARTICLE_HITS',      'ja',           'アクセス数:%s',     ''),
-(10,      'COM_CONTENT_READ_MORE',         'ja',           'もっと読む: ',       ''),
-(10,      'COM_CONTENT_READ_MORE_TITLE',   'ja',           'もっと読む',         ''),
-(10,      'COM_CONTENT_PREV',              'ja',           '前',                 ''),
-(10,      'COM_CONTENT_NEXT',              'ja',           '次',                 ''),
-(10,      'COM_CONTENT_START',             'ja',           '最初',               ''),
-(10,      'COM_CONTENT_END',               'ja',           '最後',               ''),
-(10,      'COM_CONTENT_PAGE_CURRENT_OF_TOTAL', 'ja',       'ページ番号 %s 総数 %s',  ''),
-(10,      'DATE_FORMAT_LC',                'ja',           'Y年Fd日(l)',       ''),
-(10,      'DATE_FORMAT_LC1',               'ja',           'Y年Fd日(l)',       ''),
-(10,      'DATE_FORMAT_LC2',               'ja',           'Y年Fd日(l)H:i',    ''),
-(10,      'DATE_FORMAT_LC3',               'ja',           'Y年Fd日',            ''),
-(10,      'DATE_FORMAT_LC4',               'ja',           'Y-m-d',              ''),
-(10,      'DATE_FORMAT_JS1',               'ja',           'y-m-d',              ''),
-(10,      'JANUARY_SHORT',                 'ja',           '1月',                ''),
-(10,      'JANUARY',                       'ja',           '1月',                ''),
-(10,      'FEBRUARY_SHORT',                'ja',           '2月',                ''),
-(10,      'FEBRUARY',                      'ja',           '2月',                ''),
-(10,      'MARCH_SHORT',                   'ja',           '3月',                ''),
-(10,      'MARCH',                         'ja',           '3月',                ''),
-(10,      'APRIL_SHORT',                   'ja',           '4月',                ''),
-(10,      'APRIL',                         'ja',           '4月',                ''),
-(10,      'MAY_SHORT',                     'ja',           '5月',                ''),
-(10,      'MAY',                           'ja',           '5月',                ''),
-(10,      'JUNE_SHORT',                    'ja',           '6月',                ''),
-(10,      'JUNE',                          'ja',           '6月',                ''),
-(10,      'JULY_SHORT',                    'ja',           '7月',                ''),
-(10,      'JULY',                          'ja',           '7月',                ''),
-(10,      'AUGUST_SHORT',                  'ja',           '8月',                ''),
-(10,      'AUGUST',                        'ja',           '8月',                ''),
-(10,      'SEPTEMBER_SHORT',               'ja',           '9月',                ''),
-(10,      'SEPTEMBER',                     'ja',           '9月',                ''),
-(10,      'OCTOBER_SHORT',                 'ja',           '10月',               ''),
-(10,      'OCTOBER',                       'ja',           '10月',               ''),
-(10,      'NOVEMBER_SHORT',                'ja',           '11月',               ''),
-(10,      'NOVEMBER',                      'ja',           '11月',               ''),
-(10,      'DECEMBER_SHORT',                'ja',           '12月',               ''),
-(10,      'DECEMBER',                      'ja',           '12月',               ''),
-(10,      'SUN',                           'ja',           '日',                 ''),
-(10,      'SUNDAY',                        'ja',           '日曜',               ''),
-(10,      'MON',                           'ja',           '月',                 ''),
-(10,      'MONDAY',                        'ja',           '月曜',               ''),
-(10,      'TUE',                           'ja',           '火',                 ''),
-(10,      'TUESDAY',                       'ja',           '火曜',               ''),
-(10,      'WED',                           'ja',           '水',                 ''),
-(10,      'WEDNESDAY',                     'ja',           '水曜',               ''),
-(10,      'THU',                           'ja',           '木',                 ''),
-(10,      'THURSDAY',                      'ja',           '木曜',               ''),
-(10,      'FRI',                           'ja',           '金',                 ''),
-(10,      'FRIDAY',                        'ja',           '金曜',               ''),
-(10,      'SAT',                           'ja',           '土',                 ''),
-(10,      'SATURDAY',                      'ja',           '土曜',               ''),
-(10,      'LAST_UPDATED2',                 'ja',           '更新日 %s',          '旧バージョン互換用'),
-(10,      'COM_CONTENT_CREATED_DATE_ON',   'en',           'Created: %s',        ''),
-(10,      'COM_CONTENT_LAST_UPDATED',      'en',           'Last Updated: %s',   ''),
-(10,      'COM_CONTENT_PUBLISHED_DATE_ON', 'en',           'Published: %s',      ''),
-(10,      'COM_CONTENT_WRITTEN_BY',        'en',           'Written by %s',      ''),
-(10,      'COM_CONTENT_CATEGORY',          'en',           'Category: %s',       ''),
-(10,      'COM_CONTENT_ARTICLE_HITS',      'en',           'Hits: %s',           ''),
-(10,      'COM_CONTENT_READ_MORE',         'en',           'Read more: ',        ''),
-(10,      'COM_CONTENT_READ_MORE_TITLE',   'en',           'Read more...',       ''),
-(10,      'COM_CONTENT_PREV',              'en',           'Prev',               ''),
-(10,      'COM_CONTENT_NEXT',              'en',           'Next',               ''),
-(10,      'COM_CONTENT_START',             'en',           'Start',              ''),
-(10,      'COM_CONTENT_END',               'en',           'End',                ''),
-(10,      'COM_CONTENT_PAGE_CURRENT_OF_TOTAL', 'en',       'Page %s of %s',      ''),
-(10,      'DATE_FORMAT_LC',                'en',           'l, d F Y',           ''),
-(10,      'DATE_FORMAT_LC1',               'en',           'l, d F Y',           ''),
-(10,      'DATE_FORMAT_LC2',               'en',           'l, d F Y H:i',       ''),
-(10,      'DATE_FORMAT_LC3',               'en',           'd F Y',              ''),
-(10,      'DATE_FORMAT_LC4',               'en',           'Y-m-d',              ''),
-(10,      'DATE_FORMAT_JS1',               'en',           'y-m-d',              ''),
-(10,      'JANUARY_SHORT',                 'en',           'Jan',                ''),
-(10,      'JANUARY',                       'en',           'January',            ''),
-(10,      'FEBRUARY_SHORT',                'en',           'Feb',                ''),
-(10,      'FEBRUARY',                      'en',           'February',           ''),
-(10,      'MARCH_SHORT',                   'en',           'Mar',                ''),
-(10,      'MARCH',                         'en',           'March',              ''),
-(10,      'APRIL_SHORT',                   'en',           'Apr',                ''),
-(10,      'APRIL',                         'en',           'April',              ''),
-(10,      'MAY_SHORT',                     'en',           'May',                ''),
-(10,      'MAY',                           'en',           'May',                ''),
-(10,      'JUNE_SHORT',                    'en',           'Jun',                ''),
-(10,      'JUNE',                          'en',           'June',               ''),
-(10,      'JULY_SHORT',                    'en',           'Jul',                ''),
-(10,      'JULY',                          'en',           'July',               ''),
-(10,      'AUGUST_SHORT',                  'en',           'Aug',                ''),
-(10,      'AUGUST',                        'en',           'August',             ''),
-(10,      'SEPTEMBER_SHORT',               'en',           'Sep',                ''),
-(10,      'SEPTEMBER',                     'en',           'September',          ''),
-(10,      'OCTOBER_SHORT',                 'en',           'Oct',                ''),
-(10,      'OCTOBER',                       'en',           'October',            ''),
-(10,      'NOVEMBER_SHORT',                'en',           'Nov',                ''),
-(10,      'NOVEMBER',                      'en',           'November',           ''),
-(10,      'DECEMBER_SHORT',                'en',           'Dec',                ''),
-(10,      'DECEMBER',                      'en',           'December',           ''),
-(10,      'SUN',                           'en',           'Sun',                ''),
-(10,      'SUNDAY',                        'en',           'Sunday',             ''),
-(10,      'MON',                           'en',           'Mon',                ''),
-(10,      'MONDAY',                        'en',           'Monday',             ''),
-(10,      'TUE',                           'en',           'Tue',                ''),
-(10,      'TUESDAY',                       'en',           'Tuesday',            ''),
-(10,      'WED',                           'en',           'Wed',                ''),
-(10,      'WEDNESDAY',                     'en',           'Wednesday',          ''),
-(10,      'THU',                           'en',           'Thu',                ''),
-(10,      'THURSDAY',                      'en',           'Thursday',           ''),
-(10,      'FRI',                           'en',           'Fri',                ''),
-(10,      'FRIDAY',                        'en',           'Friday',             ''),
-(10,      'SAT',                           'en',           'Sat',                ''),
-(10,      'SATURDAY',                      'en',           'Saturday',           ''),
-(10,      'LAST_UPDATED2',                 'en',           'Last Updated on %s', '旧バージョン互換用');
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'themler_sample0';
-INSERT INTO _templates
-(tm_id,                    tm_name,                 tm_type, tm_generator, tm_version) VALUES
-('themler_sample0',        'themler_sample0',       2,       'themler',    '1.0.220');
-
--- *** システム標準テーブル ***
--- ブログ設定マスター
-DELETE FROM blog_config;
-INSERT INTO blog_config
-(bg_id,                     bg_value,    bg_name) VALUES
-('receive_comment',         '0',         'コメントの受け付け'),
-('receive_trackback',       '0',         'トラックバックの受け付け'),
-('entry_view_count',        '10',        '記事表示数'),
-('entry_view_order',        '1',         '記事表示順'),
-('comment_max_length',      '300',       'コメント最大文字数'),
-('comment_count',           '100',       '1投稿記事のコメント最大数'),
-('comment_open_time',       '30',        'コメント投稿可能期間(日)'),
-('use_multi_blog',          '0',         'マルチブログを使用'),
-('multi_blog_top_content',  '',          'マルチブログのトップ画面コンテンツ'),
-('category_count',          '2',         '記事に設定可能なカテゴリ数'),
-('show_prev_next_entry_link',     '1', '前後記事リンク'),
-('prev_next_entry_link_pos',     '1', '前後記事リンク表示位置'),
-('show_entry_author',     '1', '投稿者を表示するかどうか'),
-('show_entry_regist_dt',     '1', '投稿日時を表示するかどうか'),
-('thumb_type',              's=80c.jpg;mw=160x120c.jpg;l=200c.jpg', '記事サムネールタイプ定義'),
-('entry_default_image',     '0_72c.jpg;0_80c.jpg;0_200c.jpg',       '記事デフォルト画像'),
-('comment_user_limited',      '0',       'コメントのユーザ制限'),
-('layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)'),
-('layout_entry_list',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#COMMENT_LINK#]', 'コンテンツレイアウト(記事一覧)'),
-('layout_comment_list',   '[#AVATAR#]<dl><dt>[#TITLE#] <small>[#CM_AUTHOR#] [#CM_DATE#] [#CM_TIME#] [#URL#]</small></dt><dd>[#BODY#]</dd></dl>', 'コンテンツレイアウト(コメント一覧)'),
-('output_head',      '0', 'HTMLヘッダ出力'),
-('head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)'),
-('m:entry_view_count',      '3',         '記事表示数(携帯)'),
-('m:entry_view_order',      '1',         '記事表示順(携帯)'),
-('m:title_color',           '',         'タイトルの背景色'),
-('s:entry_view_count',        '10',        '記事表示数'),
-('s:entry_view_order',        '1',         '記事表示順'),
-('s:top_content',  '',          'トップ画面コンテンツ'),
-('s:auto_resize_image_max_size',  '280',      '画像の自動変換最大サイズ'),
-('s:jquery_view_style',       '1',      'jQueryMobile表示スタイル'),
-('s:use_title_list_image',       '1',      'タイトルリスト画像を使用'),
-('s:title_list_image',       '',      'タイトルリスト画像'),
-('s:layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)'),
-('s:layout_entry_list',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#COMMENT_LINK#]', 'コンテンツレイアウト(記事一覧)'),
-('s:layout_comment_list', '[#AVATAR#]<dl><dt>[#TITLE#] <small>[#CM_AUTHOR#] [#CM_DATE#] [#CM_TIME#] [#URL#]</small></dt><dd>[#BODY#]</dd></dl>', 'コンテンツレイアウト(コメント一覧)'),
-('s:output_head',      '0', 'HTMLヘッダ出力'),
-('s:head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)');
diff --git a/include/sql/update/2015100101_to_2015101501.sql b/include/sql/update/2015100101_to_2015101501.sql
deleted file mode 100644 (file)
index baeccd2..0000000
+++ /dev/null
@@ -1,203 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- 多言語対応文字列マスター
-TRUNCATE TABLE _language_string;
-INSERT INTO _language_string
-(ls_type, ls_id,                           ls_language_id, ls_value,                             ls_name) VALUES
-(0,       'msg_site_in_maintenance',       'ja',           'ただいまサイトのメンテナンス中です', 'メンテナンス中メッセージ'),
-(0,       'msg_access_deny',               'ja',           'アクセスできません',                 'アクセス不可メッセージ'),
-(0,       'msg_page_not_found',            'ja',           'ページが見つかりません',                 '存在しないページメッセージ'),
-(1,       'word_account',                  'ja',           'ID(Eメール)',                        'アカウント'),
-(2,       'dboard',      'ja',           'ダッシュボード',       'ダッシュボード'),
-(2,       'search',      'ja',           '検索結果',             '検索結果'),
-(2,       'news',        'ja',           '新着情報',             '新着情報'),
-(2,       'commerce',    'ja',           'Eコマース',            'Eコマース'),
-(2,       'content',     'ja',           '汎用コンテンツ',       '汎用コンテンツ'),
-(2,       'product',     'ja',           '商品情報',             '商品情報'),
-(2,       'bbs',         'ja',           'BBS',                  'BBS'),
-(2,       'blog',        'ja',           'ブログ',               'ブログ'),
-(2,       'wiki',        'ja',           'Wiki',                 'Wiki'),
-(2,       'user',        'ja',           'ユーザ作成コンテンツ', 'ユーザ作成コンテンツ'),
-(2,       'event',       'ja',           'イベント情報',         'イベント情報'),
-(2,       'photo',       'ja',           'フォトギャラリー',     'フォトギャラリー'),
-(10,      'COM_CONTENT_CREATED_DATE_ON',   'ja',           '作成日:%s',         ''),
-(10,      'COM_CONTENT_LAST_UPDATED',      'ja',           '更新日:%s',         ''),
-(10,      'COM_CONTENT_PUBLISHED_DATE_ON', 'ja',           '公開日:%s',         ''),
-(10,      'COM_CONTENT_WRITTEN_BY',        'ja',           '作成者:%s',           ''),
-(10,      'COM_CONTENT_CATEGORY',          'ja',           'カテゴリー:%s',     ''),
-(10,      'COM_CONTENT_ARTICLE_HITS',      'ja',           'ヒット数:%s',     ''),
-(10,      'COM_CONTENT_READ_MORE',         'ja',           'もっと読む: ',       ''),
-(10,      'COM_CONTENT_READ_MORE_TITLE',   'ja',           'もっと読む',         ''),
-(10,      'COM_CONTENT_PREV',              'ja',           '前',                 ''),
-(10,      'COM_CONTENT_NEXT',              'ja',           '次',                 ''),
-(10,      'COM_CONTENT_START',             'ja',           '最初',               ''),
-(10,      'COM_CONTENT_END',               'ja',           '最後',               ''),
-(10,      'COM_CONTENT_PAGE_CURRENT_OF_TOTAL', 'ja',       'ページ番号 %s 総数 %s',  ''),
-(10,      'DATE_FORMAT_LC',                'ja',           'Y年Fd日(l)',       ''),
-(10,      'DATE_FORMAT_LC1',               'ja',           'Y年Fd日(l)',       ''),
-(10,      'DATE_FORMAT_LC2',               'ja',           'Y年Fd日(l)H:i',    ''),
-(10,      'DATE_FORMAT_LC3',               'ja',           'Y年Fd日',            ''),
-(10,      'DATE_FORMAT_LC4',               'ja',           'Y-m-d',              ''),
-(10,      'DATE_FORMAT_JS1',               'ja',           'y-m-d',              ''),
-(10,      'JANUARY_SHORT',                 'ja',           '1月',                ''),
-(10,      'JANUARY',                       'ja',           '1月',                ''),
-(10,      'FEBRUARY_SHORT',                'ja',           '2月',                ''),
-(10,      'FEBRUARY',                      'ja',           '2月',                ''),
-(10,      'MARCH_SHORT',                   'ja',           '3月',                ''),
-(10,      'MARCH',                         'ja',           '3月',                ''),
-(10,      'APRIL_SHORT',                   'ja',           '4月',                ''),
-(10,      'APRIL',                         'ja',           '4月',                ''),
-(10,      'MAY_SHORT',                     'ja',           '5月',                ''),
-(10,      'MAY',                           'ja',           '5月',                ''),
-(10,      'JUNE_SHORT',                    'ja',           '6月',                ''),
-(10,      'JUNE',                          'ja',           '6月',                ''),
-(10,      'JULY_SHORT',                    'ja',           '7月',                ''),
-(10,      'JULY',                          'ja',           '7月',                ''),
-(10,      'AUGUST_SHORT',                  'ja',           '8月',                ''),
-(10,      'AUGUST',                        'ja',           '8月',                ''),
-(10,      'SEPTEMBER_SHORT',               'ja',           '9月',                ''),
-(10,      'SEPTEMBER',                     'ja',           '9月',                ''),
-(10,      'OCTOBER_SHORT',                 'ja',           '10月',               ''),
-(10,      'OCTOBER',                       'ja',           '10月',               ''),
-(10,      'NOVEMBER_SHORT',                'ja',           '11月',               ''),
-(10,      'NOVEMBER',                      'ja',           '11月',               ''),
-(10,      'DECEMBER_SHORT',                'ja',           '12月',               ''),
-(10,      'DECEMBER',                      'ja',           '12月',               ''),
-(10,      'SUN',                           'ja',           '日',                 ''),
-(10,      'SUNDAY',                        'ja',           '日曜',               ''),
-(10,      'MON',                           'ja',           '月',                 ''),
-(10,      'MONDAY',                        'ja',           '月曜',               ''),
-(10,      'TUE',                           'ja',           '火',                 ''),
-(10,      'TUESDAY',                       'ja',           '火曜',               ''),
-(10,      'WED',                           'ja',           '水',                 ''),
-(10,      'WEDNESDAY',                     'ja',           '水曜',               ''),
-(10,      'THU',                           'ja',           '木',                 ''),
-(10,      'THURSDAY',                      'ja',           '木曜',               ''),
-(10,      'FRI',                           'ja',           '金',                 ''),
-(10,      'FRIDAY',                        'ja',           '金曜',               ''),
-(10,      'SAT',                           'ja',           '土',                 ''),
-(10,      'SATURDAY',                      'ja',           '土曜',               ''),
-(10,      'LAST_UPDATED2',                 'ja',           '更新日 %s',          '旧バージョン互換用'),
-(10,      'COM_CONTENT_CREATED_DATE_ON',   'en',           'Created: %s',        ''),
-(10,      'COM_CONTENT_LAST_UPDATED',      'en',           'Last Updated: %s',   ''),
-(10,      'COM_CONTENT_PUBLISHED_DATE_ON', 'en',           'Published: %s',      ''),
-(10,      'COM_CONTENT_WRITTEN_BY',        'en',           'Written by %s',      ''),
-(10,      'COM_CONTENT_CATEGORY',          'en',           'Category: %s',       ''),
-(10,      'COM_CONTENT_ARTICLE_HITS',      'en',           'Hits: %s',           ''),
-(10,      'COM_CONTENT_READ_MORE',         'en',           'Read more: ',        ''),
-(10,      'COM_CONTENT_READ_MORE_TITLE',   'en',           'Read more...',       ''),
-(10,      'COM_CONTENT_PREV',              'en',           'Prev',               ''),
-(10,      'COM_CONTENT_NEXT',              'en',           'Next',               ''),
-(10,      'COM_CONTENT_START',             'en',           'Start',              ''),
-(10,      'COM_CONTENT_END',               'en',           'End',                ''),
-(10,      'COM_CONTENT_PAGE_CURRENT_OF_TOTAL', 'en',       'Page %s of %s',      ''),
-(10,      'DATE_FORMAT_LC',                'en',           'l, d F Y',           ''),
-(10,      'DATE_FORMAT_LC1',               'en',           'l, d F Y',           ''),
-(10,      'DATE_FORMAT_LC2',               'en',           'l, d F Y H:i',       ''),
-(10,      'DATE_FORMAT_LC3',               'en',           'd F Y',              ''),
-(10,      'DATE_FORMAT_LC4',               'en',           'Y-m-d',              ''),
-(10,      'DATE_FORMAT_JS1',               'en',           'y-m-d',              ''),
-(10,      'JANUARY_SHORT',                 'en',           'Jan',                ''),
-(10,      'JANUARY',                       'en',           'January',            ''),
-(10,      'FEBRUARY_SHORT',                'en',           'Feb',                ''),
-(10,      'FEBRUARY',                      'en',           'February',           ''),
-(10,      'MARCH_SHORT',                   'en',           'Mar',                ''),
-(10,      'MARCH',                         'en',           'March',              ''),
-(10,      'APRIL_SHORT',                   'en',           'Apr',                ''),
-(10,      'APRIL',                         'en',           'April',              ''),
-(10,      'MAY_SHORT',                     'en',           'May',                ''),
-(10,      'MAY',                           'en',           'May',                ''),
-(10,      'JUNE_SHORT',                    'en',           'Jun',                ''),
-(10,      'JUNE',                          'en',           'June',               ''),
-(10,      'JULY_SHORT',                    'en',           'Jul',                ''),
-(10,      'JULY',                          'en',           'July',               ''),
-(10,      'AUGUST_SHORT',                  'en',           'Aug',                ''),
-(10,      'AUGUST',                        'en',           'August',             ''),
-(10,      'SEPTEMBER_SHORT',               'en',           'Sep',                ''),
-(10,      'SEPTEMBER',                     'en',           'September',          ''),
-(10,      'OCTOBER_SHORT',                 'en',           'Oct',                ''),
-(10,      'OCTOBER',                       'en',           'October',            ''),
-(10,      'NOVEMBER_SHORT',                'en',           'Nov',                ''),
-(10,      'NOVEMBER',                      'en',           'November',           ''),
-(10,      'DECEMBER_SHORT',                'en',           'Dec',                ''),
-(10,      'DECEMBER',                      'en',           'December',           ''),
-(10,      'SUN',                           'en',           'Sun',                ''),
-(10,      'SUNDAY',                        'en',           'Sunday',             ''),
-(10,      'MON',                           'en',           'Mon',                ''),
-(10,      'MONDAY',                        'en',           'Monday',             ''),
-(10,      'TUE',                           'en',           'Tue',                ''),
-(10,      'TUESDAY',                       'en',           'Tuesday',            ''),
-(10,      'WED',                           'en',           'Wed',                ''),
-(10,      'WEDNESDAY',                     'en',           'Wednesday',          ''),
-(10,      'THU',                           'en',           'Thu',                ''),
-(10,      'THURSDAY',                      'en',           'Thursday',           ''),
-(10,      'FRI',                           'en',           'Fri',                ''),
-(10,      'FRIDAY',                        'en',           'Friday',             ''),
-(10,      'SAT',                           'en',           'Sat',                ''),
-(10,      'SATURDAY',                      'en',           'Saturday',           ''),
-(10,      'LAST_UPDATED2',                 'en',           'Last Updated on %s', '旧バージョン互換用');
-
--- *** システム標準テーブル ***
--- ブログカテゴリマスター
-ALTER TABLE blog_category ADD bc_html  TEXT                                         NOT NULL;      -- 説明
-
--- ブログ設定マスター
-DELETE FROM blog_config;
-INSERT INTO blog_config
-(bg_id,                     bg_value,    bg_name) VALUES
-('receive_comment',         '0',         'コメントの受け付け'),
-('receive_trackback',       '0',         'トラックバックの受け付け'),
-('entry_view_count',        '10',        '記事表示数'),
-('entry_view_order',        '1',         '記事表示順'),
-('comment_max_length',      '300',       'コメント最大文字数'),
-('comment_count',           '100',       '1投稿記事のコメント最大数'),
-('comment_open_time',       '30',        'コメント投稿可能期間(日)'),
-('use_multi_blog',          '0',         'マルチブログを使用'),
-('multi_blog_top_content',  '',          'マルチブログのトップ画面コンテンツ'),
-('category_count',          '2',         '記事に設定可能なカテゴリ数'),
-('readmore_label',          'もっと読む',         '「もっと読む」ボタンラベル'),
-('show_prev_next_entry_link',    '1', '前後記事リンクを表示するかどうか'),
-('prev_next_entry_link_pos',     '1', '前後記事リンク表示位置'),
-('show_entry_author',            '1', '投稿者を表示するかどうか'),
-('show_entry_regist_dt',         '1', '投稿日時を表示するかどうか'),
-('show_entry_view_count',        '0', '閲覧数を表示するかどうか'),
-('thumb_type',              's=80c.jpg;mw=160x120c.jpg;l=200c.jpg', '記事サムネールタイプ定義'),
-('entry_default_image',     '0_72c.jpg;0_80c.jpg;0_200c.jpg',       '記事デフォルト画像'),
-('comment_user_limited',      '0',       'コメントのユーザ制限'),
-('layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)'),
-('layout_entry_list',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#COMMENT_LINK#]', 'コンテンツレイアウト(記事一覧)'),
-('layout_comment_list',   '[#AVATAR#]<dl><dt>[#TITLE#] <small>[#CM_AUTHOR#] [#CM_DATE#] [#CM_TIME#] [#URL#]</small></dt><dd>[#BODY#]</dd></dl>', 'コンテンツレイアウト(コメント一覧)'),
-('output_head',      '0', 'HTMLヘッダ出力'),
-('head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)'),
-('m:entry_view_count',      '3',         '記事表示数(携帯)'),
-('m:entry_view_order',      '1',         '記事表示順(携帯)'),
-('m:title_color',           '',         'タイトルの背景色'),
-('s:entry_view_count',        '10',        '記事表示数'),
-('s:entry_view_order',        '1',         '記事表示順'),
-('s:top_content',  '',          'トップ画面コンテンツ'),
-('s:auto_resize_image_max_size',  '280',      '画像の自動変換最大サイズ'),
-('s:jquery_view_style',       '1',      'jQueryMobile表示スタイル'),
-('s:use_title_list_image',       '1',      'タイトルリスト画像を使用'),
-('s:title_list_image',       '',      'タイトルリスト画像'),
-('s:layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)'),
-('s:layout_entry_list',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#COMMENT_LINK#]', 'コンテンツレイアウト(記事一覧)'),
-('s:layout_comment_list', '[#AVATAR#]<dl><dt>[#TITLE#] <small>[#CM_AUTHOR#] [#CM_DATE#] [#CM_TIME#] [#URL#]</small></dt><dd>[#BODY#]</dd></dl>', 'コンテンツレイアウト(コメント一覧)'),
-('s:output_head',      '0', 'HTMLヘッダ出力'),
-('s:head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)');
diff --git a/include/sql/update/2015101501_to_2015111501.sql b/include/sql/update/2015101501_to_2015111501.sql
deleted file mode 100644 (file)
index 6a258e7..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2015 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- ブログ設定マスター
-DELETE FROM blog_config;
-INSERT INTO blog_config
-(bg_id,                     bg_value,    bg_name) VALUES
-('receive_comment',         '0',         'コメントの受け付け'),
-('receive_trackback',       '0',         'トラックバックの受け付け'),
-('entry_view_count',        '10',        '記事表示数'),
-('entry_view_order',        '1',         '記事表示順'),
-('comment_max_length',      '300',       'コメント最大文字数'),
-('comment_count',           '100',       '1投稿記事のコメント最大数'),
-('comment_open_time',       '30',        'コメント投稿可能期間(日)'),
-('use_multi_blog',          '0',         'マルチブログを使用'),
-('multi_blog_top_content',  '',          'マルチブログのトップ画面コンテンツ'),
-('category_count',          '2',         '記事に設定可能なカテゴリ数'),
-('readmore_label',          'もっと読む',         '「もっと読む」ボタンラベル'),
-('entry_list_disp_type',         '0',         '記事一覧の表示タイプ'),
-('show_entry_list_image',         '1',         '記事一覧に画像を表示するかどうか'),
-('entry_list_image_type',         '80c.jpg',         '一覧の画像タイプ'),
-('show_prev_next_entry_link',    '1', '前後記事リンクを表示するかどうか'),
-('prev_next_entry_link_pos',     '1', '前後記事リンク表示位置'),
-('show_entry_author',            '1', '投稿者を表示するかどうか'),
-('show_entry_regist_dt',         '1', '投稿日時を表示するかどうか'),
-('show_entry_view_count',        '0', '閲覧数を表示するかどうか'),
-('thumb_type',              's=80c.jpg;mw=160x120c.jpg;l=200c.jpg', '記事サムネールタイプ定義'),
-('entry_default_image',     '0_72c.jpg;0_80c.jpg;0_200c.jpg',       '記事デフォルト画像'),
-('comment_user_limited',      '0',       'コメントのユーザ制限'),
-('layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)'),
-('layout_entry_list',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#COMMENT_LINK#]', 'コンテンツレイアウト(記事一覧)'),
-('layout_comment_list',   '[#AVATAR#]<dl><dt>[#TITLE#] <small>[#CM_AUTHOR#] [#CM_DATE#] [#CM_TIME#] [#URL#]</small></dt><dd>[#BODY#]</dd></dl>', 'コンテンツレイアウト(コメント一覧)'),
-('output_head',      '0', 'HTMLヘッダ出力'),
-('head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)'),
-('m:entry_view_count',      '3',         '記事表示数(携帯)'),
-('m:entry_view_order',      '1',         '記事表示順(携帯)'),
-('m:title_color',           '',         'タイトルの背景色'),
-('s:entry_view_count',        '10',        '記事表示数'),
-('s:entry_view_order',        '1',         '記事表示順'),
-('s:top_content',  '',          'トップ画面コンテンツ'),
-('s:auto_resize_image_max_size',  '280',      '画像の自動変換最大サイズ'),
-('s:jquery_view_style',       '1',      'jQueryMobile表示スタイル'),
-('s:use_title_list_image',       '1',      'タイトルリスト画像を使用'),
-('s:title_list_image',       '',      'タイトルリスト画像'),
-('s:layout_entry_single',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#LINKS#]', 'コンテンツレイアウト(記事詳細)'),
-('s:layout_entry_list',   '<small>[#CT_AUTHOR#] [#CT_DATE#] [#CT_TIME#] [#BLOG_LINK#]</small>[#BODY#][#CATEGORY#][#COMMENT_LINK#]', 'コンテンツレイアウト(記事一覧)'),
-('s:layout_comment_list', '[#AVATAR#]<dl><dt>[#TITLE#] <small>[#CM_AUTHOR#] [#CM_DATE#] [#CM_TIME#] [#URL#]</small></dt><dd>[#BODY#]</dd></dl>', 'コンテンツレイアウト(コメント一覧)'),
-('s:output_head',      '0', 'HTMLヘッダ出力'),
-('s:head_view_detail', '<meta property="og:type" content="article" /><meta property="og:title" content="[#CT_TITLE#]" /><meta property="og:url" content="[#CT_URL#]" /><meta property="og:image" content="[#CT_IMAGE#]" /><meta property="og:description" content="[#CT_DESCRIPTION#]" /><meta property="og:site_name" content="[#SITE_NAME#]" />', 'HTMLヘッダ(詳細表示)');
-
diff --git a/include/sql/update/2015111501_to_2015111901.sql b/include/sql/update/2015111501_to_2015111901.sql
deleted file mode 100644 (file)
index dccca93..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2016 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,             sc_name) VALUES
-('system_type',                  '',                   'システム運用タイプ'),
-('smtp_use_server',              '0',                  'SMTP外部サーバを使用するかどうか'),
-('smtp_host',                    '',                   'SMTPホスト名'),
-('smtp_port',                    '587',                'SMTPポート番号'),
-('smtp_encrypt_type',            'tls',                'SMTP暗号化タイプ'),
-('smtp_authentication',          '1',                  'SMTP認証'),
-('smtp_account',                 '',                   'SMTP接続アカウント'),
-('smtp_password',                '',                   'SMTPパスワード');
-
--- ページ定義マスター
-ALTER TABLE _page_def ADD pd_visible_condition       TEXT                                         NOT NULL;      -- ウィジェット表示条件。「キー=値」の形式でURLクエリーパラメータを指定。複数のクエリーパラメータ条件は「,」で区切り、条件のまとまりは「;」で区切る。
-
-
--- ページ定義マスター
-DELETE FROM _page_def WHERE pd_id = 'admin_index';
-INSERT INTO _page_def
-(pd_id,         pd_sub_id,      pd_position_id, pd_index, pd_widget_id,   pd_config_id, pd_visible, pd_editable, pd_title_visible, pd_visible_condition) VALUES
-('admin_index', '',             'top',          1,        'admin_menu4',  0,            true,       false, false, ''),
-('admin_index', 'front',        'top',          2,        'admin/message',  0,            true,       false, false, ''),
-('admin_index', 'front',        'main',         1,        'admin_main',   0,            true,       false, false, ''),
-('admin_index', 'front',        'main',         2,        'admin/analytics',   0,            true,       true, false, ''),
-('admin_index', 'front',        'main',         3,        'admin/opelog',   0,            true,       true, false, ''),
-('admin_index', 'front',        'left',         1,        'admin/loginuser',   0,            true,       true, true, ''),
-('admin_index', 'content',      'main',         1,        'admin_main',   0,            true,       false, false, ''),
-('admin_index', 'content',      'left',        1,        'admin/remotecontent',   0,            true,       true, true, 'task=dummy'),
-('admin_index', 'content',      'right',        1,        'admin/remotecontent',   0,            true,       true, true, 'task=help');
diff --git a/include/sql/update/2015111901_to_2016030101.sql b/include/sql/update/2015111901_to_2016030101.sql
deleted file mode 100644 (file)
index d4ad3af..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2016 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,             sc_name) VALUES
-('server_tools_user',                 '',                   '管理ツールアカウント'),
-('server_tools_password',                '',                   '管理ツールパスワード');
-
--- システム設定マスター(管理画面用デフォルトテンプレートを変更)
-UPDATE _system_config SET sc_value = '1.9' WHERE sc_id = 'admin_jquery_version';
-
--- テンプレート情報
-DELETE FROM _templates WHERE tm_id = 'themler_sample2';
-INSERT INTO _templates
-(tm_id,                    tm_name,                 tm_type, tm_generator, tm_version) VALUES
-('themler_sample2',        'themler_sample2',       2,       'themler',    '1.0.53');
diff --git a/include/sql/update/2016030101_to_2016032301.sql b/include/sql/update/2016030101_to_2016032301.sql
deleted file mode 100644 (file)
index ecc9060..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2016 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- システム設定マスター
-INSERT INTO _system_config 
-(sc_id,                          sc_value,             sc_name) VALUES
-('server_no',                 '-1',                   'サーバ管理No'),
-('server_admin_max_server_no',                 '0',                   '最大サーバ管理番号(サイト管理用)'),
-('realtime_server_port',                 '',                   'リアルタイムサーバポート番号');
-
--- *** システム標準テーブル ***
--- ブログ記事マスター
-ALTER TABLE blog_entry ADD be_meta_description  TEXT                                         NOT NULL;      -- METAタグ、ページ要約
-ALTER TABLE blog_entry ADD be_meta_keywords     TEXT                                         NOT NULL;      -- METAタグ、検索用キーワード
diff --git a/include/sql/update/2016032301_to_2016042201.sql b/include/sql/update/2016032301_to_2016042201.sql
deleted file mode 100644 (file)
index 3acba88..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2016 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- *** システム標準テーブル ***
--- コンテンツ参照トラン
-ALTER TABLE _view_count MODIFY vc_content_id        VARCHAR(191)   DEFAULT ''                    NOT NULL;      -- コンテンツ識別用のID
diff --git a/include/sql/update/2016042201_to_2016053001.sql b/include/sql/update/2016042201_to_2016053001.sql
deleted file mode 100644 (file)
index f37a2f9..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2016 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
-
--- *** システム標準テーブル ***
--- ブログエントリー(記事)マスター
-ALTER TABLE blog_entry ADD be_master_serial             INT            DEFAULT 0                     NOT NULL;      -- 作成元レコードのシリアル番号
-
diff --git a/include/sql/update/2016053001_to_2016073101.sql b/include/sql/update/2016053001_to_2016073101.sql
deleted file mode 100644 (file)
index 650044d..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
--- *
--- * バージョンアップ用スクリプト
--- *
--- * PHP versions 5
--- *
--- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
--- *
--- * @package    Magic3 Framework
--- * @author     平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
--- * @copyright  Copyright 2006-2016 Magic3 Project.
--- * @license    http://www.gnu.org/copyleft/gpl.html  GPL License
--- * @version    SVN: $Id$
--- * @link       http://www.magic3.org
--- *
--- --------------------------------------------------------------------------------------------------
--- バージョンアップ用スクリプト
--- --------------------------------------------------------------------------------------------------
-
--- *** システムベーステーブル ***
--- ウィジェット情報マスター
-ALTER TABLE _widgets ADD wd_enable_content  BOOLEAN        DEFAULT false                 NOT NULL;      -- コンテンツ組み込み可能かどうか
-
--- ページIDマスター
-ALTER TABLE _page_id ADD pg_frontend           BOOLEAN        DEFAULT false                  NOT NULL;      -- フロント画面用かどうか(ページID種別がアクセスポイント時)、pg_analyticsは廃止
-ALTER TABLE _page_id ADD pg_function_type    VARCHAR(20)    DEFAULT ''                    NOT NULL;      -- システム用機能タイプ
-DELETE FROM _page_id WHERE pg_type = 0;
-INSERT INTO _page_id 
-(pg_id,          pg_type, pg_default_sub_id, pg_path,       pg_name,                            pg_description,                       pg_priority, pg_device_type, pg_active, pg_visible, pg_mobile, pg_editable, pg_admin_menu, pg_frontend) VALUES
-('index',        0,       'content',         'index',       'PC用アクセスポイント',             'PC用アクセスポイント',               0,           0,              true,      true,       false,     true,        true,          true),
-('s_index',      0,       'content',           's/index',     'スマートフォン用アクセスポイント', 'スマートフォン用アクセスポイント',   1,           2,              false,     true,       false,     true,        false,         true),
-('m_index',      0,       'content',           'm/index',     '携帯用アクセスポイント',           '携帯用アクセスポイント',             2,           1,              false,     true,       true,      true,        false,         true),
-('admin_index',  0,       'content',         'admin/index', '管理用アクセスポイント',           '管理用アクセスポイント',             3,           0,              true,      true,       false,     false,       false,         false),
-('connector',    0,       'content',         'connector',   'サーバ接続用アクセスポイント',     'サーバ接続用アクセスポイント',       4,           0,              true,      true,       false,     false,       false,         false);
-UPDATE _page_id SET pg_function_type = 'activate' WHERE pg_id = 'deploy' AND pg_type = 1;
-
--- *** システム標準テーブル ***
-