• R/O
  • HTTP
  • SSH
  • HTTPS

magic3: Commit

Cloud computing platform


Commit MetaInfo

Revisão269eeb70b02cdf79ca508ffca180b97afe3f8729 (tree)
Hora2013-10-17 10:18:30
Autornaoki hirata <naoki@magi...>
Commiternaoki hirata

Mensagem de Log

DB更新スクリプト追加。

Mudança Sumário

Diff

--- a/include/global.php
+++ b/include/global.php
@@ -48,8 +48,8 @@ define('M3_ENCODING', 'UTF-8'); // 内部エンコーディング
4848 // ########## システム関係 ##########
4949 // システム基本情報
5050 define('M3_SYSTEM_NAME', 'Magic3'); // システム名称
51-define('M3_SYSTEM_VERSION', '2.7.10'); // システムのバージョン
52-define('M3_SYSTEM_RELEASE_DATE', '2013/10/2'); // システムのリリース日付
51+define('M3_SYSTEM_VERSION', '2.7.11'); // システムのバージョン
52+define('M3_SYSTEM_RELEASE_DATE', '2013/10/9'); // システムのリリース日付
5353 define('M3_SYSTEM_ID', 'M3'); // コンポーネント識別用ID
5454 define('M3_SYSTEM_DESCRIPTION', 'Magic3 is open source cms and web communication platform.'); // システムの説明
5555 define('M3_SYSTEM_MIN_MEMORY', '16M'); // 最小メモリ使用量
--- /dev/null
+++ b/include/sql/update/2013091101_to_2013101001.sql
@@ -0,0 +1,47 @@
1+-- *
2+-- * バージョンアップ用スクリプト
3+-- *
4+-- * PHP versions 5
5+-- *
6+-- * LICENSE: This source file is licensed under the terms of the GNU General Public License.
7+-- *
8+-- * @package Magic3 Framework
9+-- * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
10+-- * @copyright Copyright 2006-2013 Magic3 Project.
11+-- * @license http://www.gnu.org/copyleft/gpl.html GPL License
12+-- * @version SVN: $Id: 2013062901_to_2013071401.sql 6167 2013-07-14 05:41:34Z fishbone $
13+-- * @link http://www.magic3.org
14+-- *
15+-- --------------------------------------------------------------------------------------------------
16+-- バージョンアップ用スクリプト
17+-- --------------------------------------------------------------------------------------------------
18+
19+-- *** システムベーステーブル ***
20+
21+-- *** システム標準テーブル ***
22+-- カレンダー定義
23+ALTER TABLE calendar_def ADD cd_open_date_style TEXT NOT NULL; -- 開業日HTMLスタイル属性
24+ALTER TABLE calendar_def ADD cd_closed_date_style TEXT NOT NULL; -- 休業日HTMLスタイル属性
25+
26+-- カレンダーイベントマスター
27+DROP TABLE IF EXISTS calendar_event;
28+CREATE TABLE calendar_event (
29+ cv_serial INT AUTO_INCREMENT, -- レコードシリアル番号
30+ cv_id INT DEFAULT 0 NOT NULL, -- エントリーID
31+ cv_history_index INT DEFAULT 0 NOT NULL, -- 履歴管理用インデックスNo(0~)
32+
33+ cv_name VARCHAR(60) DEFAULT '' NOT NULL, -- エントリータイトル
34+ cv_html TEXT NOT NULL, -- エントリー本文HTML
35+ cv_start_dt TIMESTAMP DEFAULT '0000-00-00 00:00:00' NOT NULL, -- イベント期間(開始)
36+ cv_end_dt TIMESTAMP DEFAULT '0000-00-00 00:00:00' NOT NULL, -- イベント期間(終了)
37+ cv_visible BOOLEAN DEFAULT true NOT NULL, -- 表示可否
38+ cv_is_all_day BOOLEAN DEFAULT false NOT NULL, -- 終日イベントかどうか
39+
40+ cv_create_user_id INT DEFAULT 0 NOT NULL, -- レコード作成者
41+ cv_create_dt TIMESTAMP DEFAULT '0000-00-00 00:00:00' NOT NULL, -- レコード作成日時
42+ cv_update_user_id INT DEFAULT 0 NOT NULL, -- レコード更新者
43+ cv_update_dt TIMESTAMP DEFAULT '0000-00-00 00:00:00' NOT NULL, -- レコード更新日時
44+ cv_deleted BOOLEAN DEFAULT false NOT NULL, -- レコード削除状態
45+ PRIMARY KEY (cv_serial),
46+ UNIQUE (cv_id, cv_history_index)
47+) TYPE=innodb;
\ No newline at end of file
Show on old repository browser