feat: improve bag price and packaging unit management
This commit is contained in:
11
writable/database/menu_site_fix_unit_price_mgmt_link.sql
Normal file
11
writable/database/menu_site_fix_unit_price_mgmt_link.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- site 메뉴: "단가 관리" 가 조회 전용(bag/prices)으로 잘못 연결된 경우 → CRUD(bag/bag-prices)로 수정
|
||||
-- UTF-8:
|
||||
-- mysql --default-character-set=utf8mb4 -u ... -p DBNAME < writable/database/menu_site_fix_unit_price_mgmt_link.sql
|
||||
|
||||
SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
UPDATE `menu` m
|
||||
INNER JOIN `menu_type` t ON t.mt_idx = m.mt_idx AND t.mt_code = 'site'
|
||||
SET m.mm_link = 'bag/bag-prices'
|
||||
WHERE m.mm_name = '단가 관리'
|
||||
AND m.mm_link = 'bag/prices';
|
||||
Reference in New Issue
Block a user