Index: /branches/beta/html/admin/basis/mail_template_1.3.0-1.4.5.php
===================================================================
--- /branches/beta/html/admin/basis/mail_template_1.3.0-1.4.5.php	(revision 16886)
+++ /branches/beta/html/admin/basis/mail_template_1.3.0-1.4.5.php	(revision 16886)
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+require_once("../../require.php");
+
+$message = "";
+
+// ¥«¥é¥àºîÀ®
+if(sfColumnExists("dtb_mailtemplate", "send_type", "int2", DEFAULT_DSN, true)) {
+    $message.= "send_type ok<br />\n";
+}
+
+// ¥«¥é¥àºîÀ®
+if(sfColumnExists("dtb_mailtemplate", "body", "text", DEFAULT_DSN, true)) {
+    $message.= "body ok<br />\n";
+}
+
+// ¥«¥é¥àºîÀ®
+if(sfColumnExists("dtb_mailtemplate", "template_name", "text", DEFAULT_DSN, true)) {
+    $message.= "template_name ok<br />\n";
+}
+
+$objQuery = new SC_Query();
+
+$arrVal['send_type'] = '1';
+$arrVal['template_name'] = '¼õÃí´°Î»¥Æ¥ó¥×¥ì¡¼¥È(PC¥µ¥¤¥ÈÍÑ)';
+
+$objQuery->update("dtb_mailtemplate", $arrVal, "template_id = ?", array('1'));
+
+$arrVal['send_type'] = '2';
+$arrVal['template_name'] = '¼õÃí´°Î»¥Æ¥ó¥×¥ì¡¼¥È(·ÈÂÓ¥µ¥¤¥ÈÍÑ)';
+
+$objQuery->update("dtb_mailtemplate", $arrVal, "template_id = ?", array('2'));
+
+$message.= "¥Ç¡¼¥¿¤ò¹¹¿·¤·¤Þ¤·¤¿¡£<br />\n";
+print($message);
+
+?>
