-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 SQLException: no such column: spree_promotions.match_policy #6177
Conversation
Thanks @ringe! Can you add the versions used and which commands you executed for this error to happen? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6177 +/- ##
==========================================
+ Coverage 86.65% 88.81% +2.16%
==========================================
Files 515 836 +321
Lines 11900 18164 +6264
==========================================
+ Hits 10312 16133 +5821
- Misses 1588 2031 +443 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@ringe are you still interested into bringing this upstream? |
I would like to bring this yes, what are you missing in the commit message? |
In your case a brief comment explaining the change and the origin of this issue if it's limited to certain versions. |
@ringe The PR/commit message is missing the answers to these questions:
I think what you've found is a gotcha where you're using the new promo system, but a migration that depends on the old promo stuff is running, so your fix very well may be correct. It's just hard for me to know without a little more digging/context. |
@ringe you did great work here, can we get this over the finish line? |
What command were you running that resulted in the error? What was the error? Why is what your change the correct solution? I'm not sure what to write different in the commit message when I can't reproduce the error on a new rails 8.0.1 app. |
Thanks for following up! I'm going to close this because you can't reproduce it, but if you (or anyone else) sees this issue, let's reopen this and get it resolved. |
Thanks for your efforts and guidance. 😊 |
Summary
New Solidus install on existing app fails due to legacy column not present.
Versions
Commands
Checklist