fix all error 3
This commit is contained in:
@@ -10,14 +10,15 @@ DELETE FROM `settings` WHERE `key` IN (
|
||||
'price_primary_source'
|
||||
);
|
||||
|
||||
UPDATE `settings`
|
||||
SET
|
||||
`value` = CASE
|
||||
WHEN LOWER(TRIM(`value`)) IN ('taban_gohar', 'etehadie') THEN 'montzar'
|
||||
ELSE `value`
|
||||
END,
|
||||
`description` = 'منبع فعال قیمت|montzar,zaarbox,main_product',
|
||||
`type` = 'select'
|
||||
WHERE `key` = 'price_provider';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings`
|
||||
-- SET
|
||||
-- `value` = CASE
|
||||
-- WHEN LOWER(TRIM(`value`)) IN ('taban_gohar', 'etehadie') THEN 'montzar'
|
||||
-- ELSE `value`
|
||||
-- END,
|
||||
-- `description` = 'منبع فعال قیمت|montzar,zaarbox,main_product',
|
||||
-- `type` = 'select'
|
||||
-- WHERE `key` = 'price_provider';
|
||||
|
||||
COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user