When you have a Ruby on Rails app, you need to run database migrations occasioanlly. One way to do this is to deploy the code to production and run the migration manually. In this post, I'll show you the script I wrote to start up an ECS task that will run the migration for me.
My first few days of work at SalesLoft were pretty nerve-wracking. I wasn't a software developer. Not really anyway. I had written tons of Ruby on Rails code on the side for my personal projects, but the quality of that code didn't really matter. Even if my projects were just barely hanging together with duct tape and shoe-string, no one could tell that from the outside.