This commit is contained in:
2026-02-23 09:54:51 +01:00
parent 4319cb3908
commit 172f85da25
3 changed files with 9 additions and 6 deletions

View File

@@ -214,6 +214,11 @@ async function runMigrations(args: {
versionTable: string
}) {
let db;
console.log(`
[i] Lanzado migraciones\n
-> Servidor: ${env.POSTGRES_HOST}:${env.POSTGRES_PORT}
-> Objetivo: ${args.targetVersion}
`)
try {
db = new Pool({
host: env.POSTGRES_HOST,