GeistHaus
log in · sign up

GitHub - ankane/strong_migrations: Catch unsafe migrations in development

github.com

Catch unsafe migrations in development. Contribute to ankane/strong_migrations development by creating an account on GitHub.

12 pages link to this URL
Careful with That Lock, Eugene: Part 2

A while back, I wrote Careful with That Lock, Eugene about an idea for how to check if a database migration is likely to disturb production. That post came about after having an inspiring chat with a colleague about the advantages of transactional migration scripts and the ability to check the postgres system catalog views before committing a transaction. Over the past few weeks, I’ve been experimenting with this idea to test if I can use it to build valuable safety checks for DDL migrations. Kind of like shellcheck, but for database DDL migrations.

0 inbound links article en posts postgresrusteugene
PGSQL Phriday #009 — Database Change Management

Personal Site Andrew Atkinson. PostgreSQL. Ruby on Rails, Elasticsearch, Kubernetes, Vim. Author High Performance PostgreSQL for Rails Pragmatic Programmers

1 inbound link article en
PgBouncer is useful, important, and fraught with peril

Updated 2024-09-17 to reflect updated PgBouncer support for protocol-level prepared statements 🐘 To start, I want to say that I’m appreciative that PgBouncer exists and the work its open source maintainers put into it. I also love working with PostgreSQL, and I’m thankful for the incredible amount of work and improvements that go into it as well. I also think community and industry enthusiasm around Postgres is at an all time high.

1 inbound link article en 2023
20 days of ruby gems: part 1

Over on BlueSky, Gregory Brown suggested a #20daygemchallenge. Post gems you’ve either used time and time again, or have inspired you in some way, in no particular order. Mohit Sindhwani suggested writing about them at the end, which sounded like a great idea! I’m breaking it into two parts. Here’s my breakdown of my first 10 gems posted: First is HTTParty: https://github.com/jnunemaker/httparty HTTPart is the OG http gem. It’s widely used and dead simple.

0 inbound links article en 2024
Rails on Heroku

The official guide is a great place to start, but there’s more you can do to make life easier. :tangerine: Based on lessons learned in the early...

0 inbound links website en
Scaling the Monolith

Many companies start out with a single web application. As the team and codebase grow, things feel less organized and common tasks like booting the...

1 inbound link website en
Your database is sacred

Despite being a core part of most apps architecture, database schema changes are rarely a core part of code reviews – that needs to change.

0 inbound links article en