dosubot[bot] commented on issue #8602: URL: https://github.com/apache/incubator-devlake/issues/8602#issuecomment-3372218811
<!-- Answer --> You still get the error because the Go struct for CICDDeployment is defined with Name as `type:varchar(255)`, so the application enforces the 255-character limit even if the database column is TEXT. To fix this permanently, update the Name field in backend/core/models/domainlayer/devops/cicd_deployment.go to `gorm:"type:text"`, then create and run a migration script to change the column type in the database (using migrationhelper.ChangeColumnsType or similar). After that, rebuild and redeploy DevLake so the model and schema are in sync. If you have other tables with a name column (like cicd_tasks or cicd_deployment_commits), check and update those as well if needed. [Reference](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/backend/core/models/domainlayer/devops/cicd_deployment.go) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/6761156f-2eec-423c-b7d3-15bc5139ad71?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/6761156f-2eec-423c-b7d3-15bc5139ad71?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/6761156f-2eec-423c-b7d3-15bc5139ad71?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/6761156f-2eec-423c-b7d3-15bc5139ad71?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/6761156f-2eec-423c-b7d3-15bc5139ad71?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/6761156f-2eec-423c-b7d3-15bc5139ad71?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/6761156f-2eec-423c-b7d3-15bc5139ad71?feedback_type=other)</sup> [](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8602) -- 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]
