action #6058
closedRun migrations with the right user in the package
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.
Updated by coolo almost 10 years ago
initdb and upgradedb change users in case they are SQlite, but don't if postgresql. So we need to add it there.
Updated by ancorgs almost 10 years ago
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.
Updated by coolo almost 10 years ago
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
Updated by coolo almost 10 years ago
Updated by coolo almost 10 years ago
- Category set to Regressions/Crashes
- Status changed from New to Resolved
fixed in the package