Latest / Data & databases

online_migrations

github.com · Open source · Active

Ruby library that flags unsafe PostgreSQL migrations in Rails

Visit github.com ↗Share

Stars
757
Forks
28
Open issues
1
Last commit
Found
4 years ago

GitHub figures as of . They are context, not a ranking.

online_migrations is a Ruby library for Rails that flags unsafe PostgreSQL migrations in development. It also provides helpers for production tasks such as renaming tables and columns, changing column types, adding columns with defaults and running background migrations. It suits Rails teams that run PostgreSQL in production.

Positioned as an alternative to strong_migrations.

Repository description on GitHub: “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).”

What it does

  • Flags potentially dangerous PostgreSQL migration operations in development
  • Prevents unsafe operations from running by default
  • Helpers for renames, column type changes and background migrations

Good for

  • Catch unsafe PostgreSQL migrations before they reach production
  • Rename a table or column on a live Rails database more safely

Suits: Rails teams running PostgreSQL in production.

Worth knowing: Often unnecessary for small projects, since some operations are safe on low-traffic tables

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw online_migrations on , when fatkodima posted it to Show HN. GitHub listed no published releases for fatkodima/online_migrations when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 36 points, 9 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 36 points, 9 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: fatkodima/online_migrations
  2. Found: fatkodima posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was online_migrations released?
No dated release record is available. Kip found it on Show HN on 20 Feb 2022.
Is online_migrations open source?
Its source is public on GitHub at fatkodima/online_migrations under the MIT licence.
What does online_migrations run on?
Library.
Is online_migrations free?
It is open source, so the code is free to read and run; check the licence for terms.
Is online_migrations still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryfatkodima/online_migrations
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-30408336. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Data & databases

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.