-
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).
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
strong_migrations provides you with text guidance on how to run migrations safer, but my gem have actual code helpers (which the gem suggests to use) you can use to do what you want. For example, it has migration helpers for renaming tables/columns (https://github.com/fatkodima/online_migrations/blob/4eec4c1a21689b291fabf4d315cf465f1d859745/lib/online_migrations/schema_statements.rb#L123-L320), changing column types (https://github.com/fatkodima/online_migrations/blob/master/lib/online_migrations/change_column_type_helpers.rb), adding columns with defaults (https://github.com/fatkodima/online_migrations/blob/4eec4c1a21689b291fabf4d315cf465f1d859745/lib/online_migrations/schema_statements.rb#L343-L424), and more. And ability to run heavy data migrations in background (https://github.com/fatkodima/online_migrations/blob/master/BACKGROUND_MIGRATIONS.md).
Related posts
-
Online_migrations – catch database issues before they hit production
-
Migration Magic ✨, Handling Not-Null Constraints in Production with Ruby on Rails
-
Gemfile of dreams: the libraries we use to build Rails apps
-
Zero-downtime schema migrations for Ruby on Rails
-
Zero-downtime PostgreSQL migrations for Ruby on Rails