fix(db): protege conexoes e migrations de homologacao
This commit is contained in:
1 parent
4779d6b2a3
commit
8c22597420
21 files changed
+839
-45
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ if (jobRunsInline()) {
|
||||
}
|
||||
|
||||
runScript("worker", async () => {
|
||||
const db = await openOperationalDb();
|
||||
const db = await openOperationalDb("worker");
|
||||
|
||||
// O worker não aplica migrations: isso é passo explícito e aprovado do deploy.
|
||||
const pending = await pendingMigrations(db);
|
||||
|
||||
Reference in new issue
Block a user