[openstreetmap/openstreetmap-website] promote yourself to superuser (#2358)

Tom Hughes notifications at github.com
Sun Aug 25 15:46:43 UTC 2019


Well the general point is that you shouldn't be throwing around postgres superuser privileges without understanding what you are doing.

Ideally there would be a single step that you could execute as the postgres user but as I say I'm not sure if that's actually possible.

It may be that we should recommend an initial run of `rake test:db` as a database superuser to populate the test database but as I say it needs some research to see if that is good enough or under what circumstances rails may try and recreate the test database from scratch.

-- 
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/2358#issuecomment-524640344
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190825/ccfad700/attachment.html>


More information about the rails-dev mailing list