[openstreetmap/openstreetmap-website] Models in migrations (#2320)

Tom Hughes notifications at github.com
Wed Jul 17 10:36:31 UTC 2019


Frankly I'm astonished that those minimal models even work - some of our migrations do pretty extreme things and I'm surprised none of them are relying on the details of the models.

I rather suspect that maybe they only work with an empty database, and that some of the ones that try and mutate existing data might fail if there was any data to change?

-- 
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/2320#issuecomment-512199947
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190717/e3b0f3c8/attachment.html>


More information about the rails-dev mailing list