action #6058
closed
Run migrations with the right user in the package
Added by ancorgs almost 10 years ago.
Updated almost 10 years ago.
Category:
Regressions/Crashes
Description
Make sure migrations are run with the geekotest user in the package, so it works with both SQLite and PostgreSQL using "peer" as authentication method.
initdb and upgradedb change users in case they are SQlite, but don't if postgresql. So we need to add it there.
I'm not so sure because it will only work for a local PostgreSQL server using "peer" as authentication method and geekotest as user. That is just a concrete configuration from the many many possible ones... and most likely not the one used in big deployments in which the database server is usually in another machine.
but geekotest is the user running all other DB tasks - so he's able to connect to postgresql in the context of openqa daemon, he should also be able to connect to postgresql in the context of migrations
- Category set to Regressions/Crashes
- Status changed from New to Resolved
Also available in: Atom
PDF