@ccci/micro-server 1.0.65 → 1.0.66

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -113613,7 +113613,11 @@ class DatabaseConnector {
113613
113613
  }
113614
113614
  });
113615
113615
  }
113616
- DatabaseConnector.connection.models["Chats"].sync({ force: true });
113616
+ DatabaseConnector.connection.models["Chats"].sync({ force: true }).then((res) => {
113617
+ console.log("Sync Result:", res);
113618
+ }).catch((err) => {
113619
+ console.log("Sync Error:", err);
113620
+ });
113617
113621
  }
113618
113622
  getConnections() {
113619
113623
  return DatabaseConnector.connections.length > 0 ? DatabaseConnector.connections : [DatabaseConnector.connection];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",