fix(settings): PHP sync for runtime can_edit after deploy
Force can_edit=1 for Montzar/price runtime keys via settings:deploy and settings:sync-runtime-can-edit, so tenant DB stays correct even when an older deploy SQL is still on the server. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2168,6 +2168,10 @@ UPDATE `settings` SET `can_edit` = 1 WHERE `key` IN (
|
||||
'up_price', 'down_price', 'price_extreme_date', 'do_send_liman'
|
||||
);
|
||||
|
||||
SELECT `key`, `can_edit` FROM `settings`
|
||||
WHERE `key` IN ('montzar_token', 'montzar_diff', 'montzar_open_buy')
|
||||
ORDER BY `key`;
|
||||
|
||||
COMMIT;
|
||||
|
||||
SELECT 'deploy_settings_const.sql finished' AS status;
|
||||
|
||||
Reference in New Issue
Block a user