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

Migrate database by default #117

Merged
merged 1 commit into from
Mar 2, 2023
Merged

Conversation

gsmendoza
Copy link
Contributor

We need to migrate the database by default so that once we add Braintree to the Solidus installer, running solidus:install would automatically run the SolidusBraintree migrations. See solidusio/solidus#4749.

This should be safe since migrate is also enabled by default in SolidusPaypalCommercePlatform. See
https://github.com/solidusio/solidus_paypal_commerce_platform/blob/a6f87f5d6a1621eda453db31ccdc8c3903ef48c4/lib/generators/solidus_paypal_commerce_platform/install/install_generator.rb#L6.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

We need to migrate the database by default so that once we add
Braintree to the Solidus installer, running `solidus:install` would
automatically run the SolidusBraintree migrations. See
solidusio/solidus#4749.

This should be safe since migrate is also enabled by default in
SolidusPaypalCommercePlatform. See
https://github.com/solidusio/solidus_paypal_commerce_platform/blob/a6f87f5d6a1621eda453db31ccdc8c3903ef48c4/lib/generators/solidus_paypal_commerce_platform/install/install_generator.rb#L6.
@gsmendoza gsmendoza self-assigned this Mar 2, 2023
Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@elia elia merged commit 01d511d into master Mar 2, 2023
@elia elia deleted the gsmendoza/migrate-database-by-default branch March 2, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants