remove shipping methods table's update from migration#2278
remove shipping methods table's update from migration#2278glennjacobs merged 1 commit intolunarphp:1.xfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThe migration packages/core/database/migrations/2025_08_14_164000_switch_to_jsonb.php was updated to exclude shipping_methods.data from the set of columns converted to jsonb in up() and reverted to json in down(); all other logic remains unchanged. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
#2278 Removed the `jsonb` changes from shipping tables but didn't reapply them via the shipping addon. This PR mimics the core migration but within the shipping addon. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Chores - Migrated shipping method data storage to a more efficient format on PostgreSQL, improving query performance and scalability. - Backward-compatible and reversible; no action required for non-PostgreSQL setups. - Ensures more consistent behavior and prepares the system for future enhancements. - Seamless upgrade path with automatic migration during update; no user-facing changes expected. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Glenn Jacobs <[email protected]> Co-authored-by: Author <[email protected]>
This migration is aimed at PostgreSQL databases. It targets columns that were previously of type
jsonand changes them tojsonb. The line removed in the PR causes a problem because the table mentioned does not exist in Lunar. This causes new installations that use PostgreSQL to fail.Relevant issue:
Summary by CodeRabbit