order 테이블의 on_uid unique index 삭제 쿼리 추가

This commit is contained in:
chicpro committed 2013-03-26 11:16:38 +09:00
1 parent b1a3d3ad50
commit 2217836eb5
1 file changed
+1
+1
View File
@@ -114,6 +114,7 @@ if(!$result) {
sql_query(" ALTER TABLE `{$g4['yc4_order_table']}` MODIFY COLUMN od_id BIGINT(20) unsigned NOT NULL ", false);
sql_query(" ALTER TABLE `{$g4['yc4_cart_table']}` ADD INDEX uq_id (uq_id) ", false);
sql_query(" ALTER TABLE `{$g4['yc4_order_table']}` ADD UNIQUE uq_id (uq_id) ", false);
sql_query(" ALTER TABLE `{$g4['yc4_order_table']}` DROP INDEX index1", false);
}
//==============================================================================