Herrtian opened a new pull request, #8837: URL: https://github.com/apache/incubator-devlake/pull/8837
## Summary Closes #8835 The Asana plugin migration `20250212_add_task_transformation_fields` uses `gorm:"type:double"` on the `StoryPoint` field. PostgreSQL does not have a `double` type, causing the migration to fail: ``` ERROR: type "double" does not exist (SQLSTATE 42704) ``` ## Change Changed `gorm:"type:double"` to `gorm:"type:float8"` in the migration struct. `float8` works on both databases: - **PostgreSQL**: `float8` is a built-in alias for `double precision` - **MySQL**: `float8` is accepted as a synonym for `double` This is consistent with the GitLab plugin which already uses `float8` for the same purpose (see `backend/plugins/gitlab/models/job.go:37`). ## Test plan - [x] `go build ./plugins/asana/...` compiles successfully - [x] One-line change, no logic affected -- 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]
