warren830 opened a new issue, #3713:
URL: https://github.com/apache/incubator-devlake/issues/3713

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   According to #3537 , after migration, we found that 
_devlake_tasks.pipeline_id is not in accordance with _devlake_pipelines.id. 
   There are two problems caused migration failed from v0.12 to 0.14
   1. _devlake_tasks.id is not in accordance with pipeline.id
   
![img_v2_40dbfb25-e994-4c4b-86ac-ce1a3ca9feag](https://user-images.githubusercontent.com/39366025/201053996-3b068219-42dd-4bdb-9749-b56c6a641356.png)
    - previously, we migrate the whole table instead of changing columns
   3. reported `_tool_jenkins_builds does not exist` 
   <img width="1440" alt="img_v2_9f59a543-3db1-4f7e-b896-7ad1bc2117ag" 
src="https://user-images.githubusercontent.com/39366025/201039604-4da13cc6-aee2-458a-a172-6d5e48cdd24f.png";>
    - when we are migrating jenkins build, we used cursor, and changed the 
table name of the cursor before we releasing it. 
   
   ### What do you expect to happen
   
   None
   
   ### How to reproduce
   
   none
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to