JAORMX opened a new pull request, #8836: URL: https://github.com/apache/incubator-devlake/pull/8836
## Summary - Remove explicit `gorm:"type:double"` and `gorm:"type:int unsigned"` tags from the Asana task migration struct in `20250212_add_task_transformation_fields.go` - PostgreSQL does not have a `double` type (uses `double precision`) and does not support `UNSIGNED` integer qualifiers — both tags cause migration failures on PostgreSQL - Without explicit tags, GORM infers the correct column type per dialect automatically (`double`/`double precision` for `*float64`, `bigint unsigned`/`bigint` for `*uint`) Follows the same pattern as #8779 which fixed the equivalent `datetime` issue in the copilot plugin. closes #8835 ## Test plan - [ ] Verify `go build ./plugins/asana/...` passes (confirmed locally) - [ ] Verify GORM AutoMigrate succeeds on PostgreSQL without errors - [ ] Verify existing MySQL installations are unaffected (migration is gated by version number and GORM infers `double` / `bigint unsigned` for MySQL — matching existing column types) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
