hunk.code_window:         permission:
             check:
               user_id:
                 _eq: X-HASURA-USER-ID
  
hunk.labels: add keep keep keep
hunk.after_edit:           set: {}
  
hunk.file_path: community/sample-apps/todo-auth0-jwt/hasura/migrations/1536761653464_init.up.yaml
hunk.type: add
file: mutation ($userId:Int!){
      update_user (
        _set: {
          last_seen: "now()"
        }
        where: {
          id: {
            _eq: $userId
          }
        }
      ) {
        affected_rows
      }
    }