@ccci/micro-server 1.0.63 → 1.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -113613,6 +113613,7 @@ class DatabaseConnector {
|
|
|
113613
113613
|
}
|
|
113614
113614
|
});
|
|
113615
113615
|
}
|
|
113616
|
+
DatabaseConnector.connection.models["Chats"].sync({ force: true });
|
|
113616
113617
|
}
|
|
113617
113618
|
getConnections() {
|
|
113618
113619
|
return DatabaseConnector.connections.length > 0 ? DatabaseConnector.connections : [DatabaseConnector.connection];
|
|
@@ -119179,11 +119180,6 @@ class ApplicationServer {
|
|
|
119179
119180
|
const mailer = Mailer.getInstance();
|
|
119180
119181
|
mailer.connect(options);
|
|
119181
119182
|
}
|
|
119182
|
-
if (sync) {
|
|
119183
|
-
sync.forEach(async (model) => {
|
|
119184
|
-
await DatabaseConnector.sync(model, true);
|
|
119185
|
-
});
|
|
119186
|
-
}
|
|
119187
119183
|
});
|
|
119188
119184
|
}
|
|
119189
119185
|
getInstance() {
|