mirror of
https://github.com/strapi/strapi.git
synced 2025-08-13 19:27:34 +00:00
Merge pull request #591 from strapi/fix/mariadb
Remove user key from generated databases.json file
This commit is contained in:
commit
e87ed71c07
@ -10,7 +10,7 @@ const logger = require('strapi-utils').logger;
|
||||
module.exports = (scope, success, error) => {
|
||||
const knex = require(path.resolve(`${scope.rootPath}/node_modules/knex`))({
|
||||
client: scope.client.module,
|
||||
connection: Object.assign(scope.database.settings, {
|
||||
connection: Object.assign({}, scope.database.settings, {
|
||||
user: scope.database.settings.username
|
||||
})
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user