safe-pg-migrations
migration_signature
Our great sponsors
safe-pg-migrations | migration_signature | |
---|---|---|
6 | 1 | |
478 | 4 | |
1.9% | - | |
8.5 | 4.4 | |
5 days ago | 4 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
safe-pg-migrations
- Show HN: safe-pg-migrations, ActiveRecord migrations for Postgres made safe
- Gérer ses migrations sans downtime
- Show HN: Zero-downtime PostgreSQL migrations for Ruby on Rails
-
Database... or Goose?
ps. the gem being showcased here is https://github.com/doctolib/safe-pg-migrations
At Doctolib, we developed safe-pg-migrations, a tool which automatically makes migrations safe. In 2018, we open-sourced this library. From an internal solution developed by our team only, it is now used on other projects, and even received contribution from external authors.
-
Release a new gem version
At Doctolib, we proudly maintain and develop the gem safe-pg-migrations, which makes migrations safer. Once in a while, after each relevant updates, we release a new version.
migration_signature
-
Show HN: Zero-downtime PostgreSQL migrations for Ruby on Rails
This is cool. We use strong_migrations but I’ll check this out. I love the idea of an enforced pattern for background data migrations.
While I’m here a shameless plug for a gem we built that we’ve found incredibly helpful for safer migrations - https://github.com/TandaHQ/migration_signature
It adds a CI check to guarantee the migrations you tested in development are actually the migrations that run in production.
What are some alternatives?
strong_migrations - Catch unsafe migrations in development
django-pg-zero-downtime-migrations - Django postgresql backend that apply migrations with respect to database locks
pg-osc - Easy CLI tool for making zero downtime schema changes and backfills in PostgreSQL
online_migrations - Catch unsafe PostgreSQL migrations in development and run them easier in production (code helpers for table/column renaming, changing column type, adding columns with default, background migrations, etc).
ghost_adapter - Run ActiveRecord migrations through gh-ost
django-check-migration-wtf - check migrations of django to work on enviroment zero downtime
Large Hadron Migrator - Online MySQL schema migrations
flipper - 🐬 Beautiful, performant feature flags for Ruby.