-- Update task reward_type from 'Stars' to 'Tickets'
-- Update all existing tasks
UPDATE tasks SET reward_type = 'Tickets' WHERE reward_type = 'Stars';

-- Update table default value and comment
ALTER TABLE tasks 
MODIFY COLUMN reward_type VARCHAR(20) NOT NULL DEFAULT 'Tickets' COMMENT 'Tickets (all tasks use Tickets as reward type)';



