yumi-golang/migrations/026_task_center_removed_conditions.sql
2026-05-08 18:55:47 +08:00

14 lines
367 B
SQL

-- Keep existing task-center data aligned with the supported task types.
-- These condition types were removed from product scope and are no longer
-- reported by backend services.
UPDATE task_center_task_config
SET
enabled = 0,
update_time = NOW(3)
WHERE condition_type IN (
'POST_MOOD_COUNT',
'INTERACTIVE_GAME_COUNT',
'CP_BIND_COUNT'
)
AND enabled <> 0;