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

Tom Hughes notifications at github.com
Wed Jul 17 13:36:42 UTC 2019


tomhughes commented on this pull request.



> @@ -1,4 +1,7 @@
 class AddUserImageFingerprint < ActiveRecord::Migration[4.2]
+  class User < ActiveRecord::Base
+  end
+

Well I guess we could merge this for now.

Long term I'm not sure I have any better ideas than your one of rolling up all the old migrations, though that is a lot of work to get right... The final result would have to reuse an existing timestamp to make sure existing users didn't try and apply it.

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


More information about the rails-dev mailing list