[openstreetmap/openstreetmap-website] Reordered migrations to make them the latest. (5cc0eba)

Tom Hughes notifications at github.com
Thu Dec 14 12:01:27 UTC 2017


Just a small note for the future - please don't do this!

This was necessary with the original rails migration scheme where it only tracked a single "up to" point for migrations but rails long since switched to tracking exactly which migrations have been applied.

Changing the sequence numbers for migrations means that existing databases can't be migrated without manually updating `schema_migrations` to rename the already applied migrations.

-- 
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/commit/5cc0eba3f10da37a14e8f27f04c7695505b4c684#commitcomment-26270712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171214/c3462de3/attachment.html>


More information about the rails-dev mailing list