mirror of
https://github.com/strapi/strapi.git
synced 2025-10-14 17:43:01 +00:00
Merge pull request #3625 from strapi/fix/missing-connector-strapi-new
Fix missing connector in generated database.json files
This commit is contained in:
commit
a390c6288c
@ -1,5 +1,4 @@
|
||||
'use strict';
|
||||
const { merge } = require('lodash');
|
||||
|
||||
module.exports = ({ connection, env }) => {
|
||||
// Production/Staging Template
|
||||
@ -26,10 +25,11 @@ module.exports = ({ connection, env }) => {
|
||||
return {
|
||||
defaultConnection: 'default',
|
||||
connections: {
|
||||
default: merge({
|
||||
default: {
|
||||
connector: connection.connector,
|
||||
settings: settingsBase,
|
||||
options: optionsBase,
|
||||
}),
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user