Changed migration to tasks table and a completed_at field