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