Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix column names with spaces for relationship columns #15379

Conversation

shogunpurple
Copy link
Member

Description

Column names with spaces at the end were being trimmed in some places by knex, causing the query to fail and no rows to be returned. We need to wrap them in a knex.raw so the spaces are preserved

Addresses

@shogunpurple shogunpurple requested a review from a team as a code owner January 16, 2025 14:11
@shogunpurple shogunpurple requested review from samwho and removed request for a team January 16, 2025 14:11
Copy link

qa-wolf bot commented Jan 16, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

linear bot commented Jan 16, 2025

@shogunpurple shogunpurple force-pushed the budi-8973-rows-being-deleted-after-changing-tables-or-going-on branch from 861bc53 to f07b96d Compare January 16, 2025 14:14
@shogunpurple shogunpurple force-pushed the budi-8973-rows-being-deleted-after-changing-tables-or-going-on branch from f07b96d to df2f6cf Compare January 16, 2025 14:17
@shogunpurple shogunpurple force-pushed the budi-8973-rows-being-deleted-after-changing-tables-or-going-on branch 2 times, most recently from 6727773 to 0b8d024 Compare January 16, 2025 14:31
@shogunpurple shogunpurple force-pushed the budi-8973-rows-being-deleted-after-changing-tables-or-going-on branch from 0b8d024 to 3bd56bd Compare January 16, 2025 14:33
@shogunpurple shogunpurple merged commit bfc5b49 into master Jan 16, 2025
20 checks passed
@shogunpurple shogunpurple deleted the budi-8973-rows-being-deleted-after-changing-tables-or-going-on branch January 16, 2025 16:52
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants