refactor: apply migration

This commit is contained in:
Mauricio Siu
2024-10-03 00:15:36 -06:00
parent c12d37fe0a
commit 600f4b2106

View File

@@ -62,8 +62,8 @@ void app.prepare().then(async () => {
await sendDokployRestartNotifications();
}
if (IS_CLOUD) {
// await migration(); //TODO: Fix migration
if (IS_CLOUD && process.env.NODE_ENV === "production") {
await migration();
}
server.listen(PORT);