Hacker GitHub

← All repos

ankane/strong_migrations

View on GitHub ↗ ★ 4,461 Ruby

Catch unsafe migrations in development

20 mentions on Hacker News by 18 people: 4 stories, 16 comments · first 2017-09-13 · latest 2026-09-26

Mentions per year 20 mentions · busiest year 2022 (5)
20082026
  1. There's also https://github.com/ankane/strong_migrations for Ruby The checks/explanations are fairly simple and straightforward so it also makes a good reference regardless of whether you're using the library
  2. ▲ 1
    Catch unsafe Rails migrations in development
    story by mooreds · 2025-10-07 · 0 comments
  3. ▲ 3
    AI Code Review Rules Directory
    story by dearilos · 2025-06-09 · 0 comments
  4. …back to, regardless of what language I'm working in, is the checks performed by strong migrations https://github.com/ankane/strong_migrations?tab=readme-ov-fi... It's pretty popular, and has even been ported to other languages…
    comment by wutwutwat · 2025-05-26 · in Ask HN: What are you working on? (May 2025)
  5. …that are safe for ZDD deploys. We use it in our rails app, catches quite a few potential footguns. https://github.com/ankane/strong_migrations
  6. …of automatic lock timeout retries in Strong Migrations. Lock Timeout Retries [experimental] https://github.com/ankane/strong_migrations
  7. ▲ 2
    Strong_migrations: Catch Unsafe Migrations in Development
    story by thunderbong · 2024-05-16 · 0 comments
  8. ▲ 1
    Catch Unsafe Migrations in Development
    story by mooreds · 2024-05-15 · 0 comments
  9. In the Rails world, the gem strong_migrations can be used to detect these: https://github.com/ankane/strong_migrations The docs include a handy articulation of fixes.
    comment by Empact · 2024-04-13 · in Careful with That Lock, Eugene
  10. Semi related https://github.com/ankane/strong_migrations
    comment by nijave · 2022-05-14 · in Zero-downtime Django migrations
  11. Already existing gem works for both MySQL and PostgreSQL https://github.com/ankane/strong_migrations
  12. …I am extremely grateful that some people have created awesome libraries like strong migrations https://github.com/ankane/strong_migrations . Even if you are not using rails, you can bookmark its readme, it is an awesome cheat-sheet on how…
  13. There is already https://github.com/ankane/strong_migrations
    comment by jaredsohn · 2022-01-21 · in Best practices as code using RuboCop
  14. …DSL instead of plain SQL. If anyone knows of a SQL-first reference, I'd love to hear about it. [1]: https://github.com/ankane/strong_migrations#checks
  15. …~6 years worth of real world testing at this point. [0]: https://github.com/flyerhzm/bullet [1]: https://github.com/ankane/strong_migrations [2]: https://github.com/ilyakatz/data-migrate
    comment by nickjj · 2021-04-06 · in Elixir and Phoenix after two years
  16. …best practices like https://brakemanscanner.org/ https://github.com/djezzzl/database_consistency https://github.com/ankane/strong_migrations
    comment by mtmail · 2020-09-07 · in Ask HN: Linters for excellent code?
  17. …was actually possible to change the default behavior of Postgres and fix the underlying issue. [1] https://github.com/ankane/strong_migrations#adding-a-column-...
    comment by nathan_f77 · 2018-09-22 · in Postgres 11 – A First Look
  18. If you are using Rails, this is a nice guardrail: https://github.com/ankane/strong_migrations Even if you aren't on Rails or don't want to use the gem, it is still nice a checklist.
    comment by pjungwir · 2018-06-18 · in A Performance Cheat Sheet for PostgreSQL
  19. It looks like that can affect `SELECT DISTINCT` queries. From https://github.com/ankane/strong_migrations#adding-a-json-co...
    comment by benmanns · 2017-09-13 · in Better Database Migrations in Postgres
  20. I think they're referring to the last item in the list at https://github.com/ankane/strong_migrations#dangerous-operat... which was linked from the article.
    comment by tclancy · 2017-09-13 · in Better Database Migrations in Postgres