Shift Happens
Technology
Forcing a Rails database migration
Today I accidentally ran migrations on a production environment that shouldn't run. Luckily, the table wasn't critical, but it did cause a feature of...
Written by
Michiel Sikkes
Published
Today I accidentally ran migrations on a production environment that shouldn't run. Luckily, the table wasn't critical, but it did cause a feature of an app to break.
There is not a straight forward way to "force" a previous migration that already ran via a simple Rake command or something.
Eventually, I found a solution inspired by this post on StackOverflow: http://stackoverflow.com/questions/753919/run-a-single-migration-file.
Here's what I did to bring back the table by re-running the previous migration.
Questions or comments?
If you have any questions or comments, please let me know! You can reach me on Twitter via @michiels or send me an email at mailto:michiel@firmhouse.com.
Keep reading

Technology
Why local payment methods matter for scaling recurring commerce across Europe
European customers who can pay with their preferred methods complete purchases more often and feel better about their shopping experience. This local touch helps customers feel at home during checkout—essential for subscription models that depend on long-term relationships.
Deidre Olsen
·

Technology
Seamless integration: Transforming customer experience with unified commerce
With a unified commerce strategy, merchants can transcend omnichannel limitations, resulting in personalized customer journeys, optimized order fulfillment, and flexible payment and delivery options.
Deidre Olsen
·

Technology
Embracing Digital Transformation With As-A-Service Models
Digitalization has changed not only technology but the way we do business nowadays. Learn how the trend for businesses has been moving in the direction of as-a-service models.
Cristina Quijano
·