ubclaunchpad / rocket

:rocket: Slack bot, team management, and onboarding system for UBC Launch Pad - superseded by Rocket2: https://github.com/ubclaunchpad/rocket2
2 stars 0 forks source link

Fix team operations #87

Closed bobheadxi closed 5 years ago

bobheadxi commented 6 years ago

Opening this PR to investigate issues with the ORM when making team-related queries:

Error Trace:    team_test.go:35
Error:          Expected nil, but got: internal.PGError{m:map[uint8]string{0x56:"ERROR", 0x43:"42703", 0x46:"parse_relation.c", 0x4c:"3293", 0x52:"errorMissingColumn", 0x61:"[::1]:5433", 0x53:"ERROR", 0x4d:"column team_members.member_ does not exist", 0x50:"399"}}

Possibly related to https://github.com/ubclaunchpad/rocket/pull/76, where I bumped up our go-pg version since it was woefully outdated and not working properly with newer version of postgres that the new tests were using.

bobheadxi commented 5 years ago

yolo

bfbachmann commented 5 years ago

Dude THIS STUPID ERROR AGAIN. I swear it's a Go-pg issue.

bfbachmann commented 5 years ago

Or maybe we just don't know how to use the library 🤷‍♂️