[openstreetmap/openstreetmap-website] Use strong_migrations (#2237)
Andy Allan
notifications at github.com
Wed May 29 11:56:49 UTC 2019
> Do we at least know if it has the sense to recognise when you are doing things (like creating an index) in the same migration that creates a table and not complain about them
Maybe the test suite is useful if you want to review this? Probably clearer than reading the code.
https://github.com/ankane/strong_migrations/blob/11391b500c62e8aa0bb8660c45be5c2f49ca4be0/test/strong_migrations_test.rb#L252
I haven't found any craziness in my other projects. If there ever was a conflict of opinions, then the 'safety_assured' wrapper could be used.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2237#issuecomment-496905379
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190529/ca0601d4/attachment.html>
More information about the rails-dev
mailing list