mirror of
https://github.com/strapi/strapi.git
synced 2025-10-04 21:02:43 +00:00
Run the database event if the connection is established
This commit is contained in:
parent
114ac4a30d
commit
b81ba84401
@ -135,10 +135,7 @@ module.exports = (scope, cb) => {
|
|||||||
const isQuick = scope.quick;
|
const isQuick = scope.quick;
|
||||||
|
|
||||||
if (isQuick) {
|
if (isQuick) {
|
||||||
trackSuccess('didChooseQuickstart', scope);
|
|
||||||
answers.client = databaseChoices[0].value;
|
answers.client = databaseChoices[0].value;
|
||||||
} else {
|
|
||||||
trackSuccess('didChooseCustomDatabase', scope);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasDatabaseConfig) {
|
if (hasDatabaseConfig) {
|
||||||
@ -356,6 +353,12 @@ module.exports = (scope, cb) => {
|
|||||||
console.log();
|
console.log();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isQuick) {
|
||||||
|
trackSuccess('didChooseQuickstart', scope);
|
||||||
|
} else {
|
||||||
|
trackSuccess('didChooseCustomDatabase', scope);
|
||||||
|
}
|
||||||
|
|
||||||
trackSuccess('didConnectDatabase', scope);
|
trackSuccess('didConnectDatabase', scope);
|
||||||
|
|
||||||
cb.success();
|
cb.success();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user