@ccci/micro-server 1.0.68 → 1.0.69
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 +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -113615,6 +113615,7 @@ class DatabaseConnector {
|
|
|
113615
113615
|
}
|
|
113616
113616
|
});
|
|
113617
113617
|
}
|
|
113618
|
+
console.log("Sync STARTED :>> ");
|
|
113618
113619
|
DatabaseConnector.connection.sync({ force: true });
|
|
113619
113620
|
let model = DatabaseConnector.connection.models["Chats"];
|
|
113620
113621
|
model.sync({ force: true }).then((res) => {
|
|
@@ -113622,6 +113623,7 @@ class DatabaseConnector {
|
|
|
113622
113623
|
}).catch((err) => {
|
|
113623
113624
|
console.log("Sync Error:", err);
|
|
113624
113625
|
});
|
|
113626
|
+
console.log("Sync ENDED :>> ");
|
|
113625
113627
|
} catch (error) {
|
|
113626
113628
|
console.log(error);
|
|
113627
113629
|
}
|