I’ve run into a situation where I want the owner of my DB tables to be
different than the user that accesses them during application runtime.
I believe that I can just set up another DB connection profile (with a
name other than “production”) in database.yml and then pass that as
RAILS_ENV to db:migrate instead of “production”.
Anyone see any problems with this?
Yay - deployment issues.