Changeset 11717
- Timestamp:
- 2007/03/09 22:04:24 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/install/index.php
r11715 r11717 921 921 // ¸ÜµÒ 922 922 sfColumnExists("dtb_customer", "mailmaga_flg", "int2", $dsn, true); 923 924 if (sfColumnExists("dtb_customer", "mobile_phone_id", "", $dsn, true)) { 925 $objQuery = new SC_Query($dsn); 926 if ($objDBParam->getValue('db_type') == 'mysql') { 927 $objQuery->query("CREATE INDEX dtb_customer_mobile_phone_id_key ON dtb_customer (mobile_phone_id(64))"); 928 } else { 929 $objQuery->query("CREATE INDEX dtb_customer_mobile_phone_id_key ON dtb_customer (mobile_phone_id)"); 930 } 931 } 932 923 924 if(sfTabaleExists("dtb_customer", $dsn)) { 925 if (sfColumnExists("dtb_customer", "mobile_phone_id", "", $dsn, true)) { 926 $objQuery = new SC_Query($dsn); 927 if ($objDBParam->getValue('db_type') == 'mysql') { 928 $objQuery->query("CREATE INDEX dtb_customer_mobile_phone_id_key ON dtb_customer (mobile_phone_id(64))"); 929 } else { 930 $objQuery->query("CREATE INDEX dtb_customer_mobile_phone_id_key ON dtb_customer (mobile_phone_id)"); 931 } 932 } 933 } 933 934 // ¸ÜµÒ¥á¡¼¥ë 934 935 if ($objDBParam->getValue('db_type') == 'mysql') {
Note: See TracChangeset
for help on using the changeset viewer.