[openstreetmap/openstreetmap-website] User IDs have inconsistent types in the database (#2211)

Andy Allan notifications at github.com
Wed Apr 24 09:04:57 UTC 2019


> Yes we could do what you suggest and make travis constantly add new commits to bring the SQL back to a clean version but that will produce horrible churn in the git history unless we can somehow also prevent user changes making it through so that we only get the clean versions.

Is it worth making a step in the travis to run the migrations, dump the structure, and fail the test run if the output is different from the committed structure? A little bit of `sed` before a `diff` could allow us to ignore the filesystem paths for the functions.

-- 
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/issues/2211#issuecomment-486135333
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190424/ddea33e0/attachment.html>


More information about the rails-dev mailing list