OSDN Git Service

DB構築スクリプト更新。
authornaoki hirata <naoki@magic3.org>
Sat, 13 Feb 2016 00:24:42 +0000 (09:24 +0900)
committernaoki hirata <naoki@magic3.org>
Sat, 13 Feb 2016 00:24:42 +0000 (09:24 +0900)
include/sql/insert_base.sql
include/sql/update/2015111501_to_2015111901.sql

index 71089a2..7e78f61 100644 (file)
@@ -246,17 +246,15 @@ INSERT INTO _page_info
 \r
 -- ページ定義マスター\r
 INSERT INTO _page_def\r
-(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\r
-('admin_index', '',             'top',          1,        'admin_menu4',  0,            true,       false, false, ''),\r
-('admin_index', 'front',        'top',          2,        'admin/message',  0,            true,       false, false, ''),\r
-('admin_index', 'front',        'main',         1,        'admin_main',   0,            true,       false, false, ''),\r
-('admin_index', 'front',        'main',         2,        'admin/analytics',   0,            true,       true, false, ''),\r
-('admin_index', 'front',        'main',         3,        'admin/opelog',   0,            true,       true, false, ''),\r
-('admin_index', 'front',        'left',         1,        'admin/loginuser',   0,            true,       true, true, ''),\r
-('admin_index', 'content',      'main',         1,        'admin_main',   0,            true,       false, false, ''),\r
-('admin_index', 'content',      'left',        1,        'admin/remotecontent',   0,            true,       true, true, 'task=dummy'),\r
-('admin_index', 'content',      'right',        1,        'admin/remotecontent',   0,            true,       true, true, 'task=help'),\r
-('connector',   'content',      'main',         1,        'c/updateinfo', 0,            true,       false,       true, '');\r
+(pd_id,         pd_sub_id,      pd_position_id, pd_index, pd_widget_id,   pd_config_id, pd_visible, pd_editable, pd_title_visible) VALUES\r
+('admin_index', '',             'top',          1,        'admin_menu4',  0,            true,       false, false),\r
+('admin_index', 'front',        'top',          2,        'admin/message',  0,            true,       false, false),\r
+('admin_index', 'front',        'main',         1,        'admin_main',   0,            true,       false, false),\r
+('admin_index', 'front',        'main',         2,        'admin/analytics',   0,            true,       true, false),\r
+('admin_index', 'front',        'main',         3,        'admin/opelog',   0,            true,       true, false),\r
+('admin_index', 'front',        'left',         1,        'admin/loginuser',   0,            true,       true, true),\r
+('admin_index', 'content',      'main',         1,        'admin_main',   0,            true,       false, false),\r
+('connector',   'content',      'main',         1,        'c/updateinfo', 0,            true,       false,       true);\r
 \r
 -- サイト定義マスター\r
 INSERT INTO _site_def\r
index 605cbab..60e4782 100644 (file)
@@ -24,3 +24,18 @@ INSERT INTO _system_config
 
 -- ページ定義マスター
 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');