jbsmith7741 opened a new pull request, #8783:
URL: https://github.com/apache/incubator-devlake/pull/8783

   
   
   ### Summary
   
   The project_key column in cq_issues and cq_file_metrics were too short to 
hold the domain-layer project ID generated by didgen (format: 
sonarqube:SonarqubeProject:<connectionId>:<projectKey>). Since SonarQube allows 
project keys up to 400 characters, the generated domain ID can be around ~450 
characters, which will cause the "Data too long for column" error. This changes 
the columns cq_issues and cq_file_metrics to varchar(500) which allows for the 
long names and is consistent with DomainEntityExtended.Id
   
   ### Does this close any open issues?
   Closes #8331
   
   ### Screenshots
   N/A
   
   ### Other Information
   Added migration script (20260317_increase_cq_issues_project_key_length) to 
alter both columns on the next startup.


-- 
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