Relative Content

Tag Archive for node.jspostgresqlmigrationdatabase-migrationpg

Issue with Node-PG-Migrate and Incorrect Database Name

I’m using node-pg-migrate for my migrations, and I’ve set up my .env file with a custom database name, but when I run the migration command, it always tries to connect to a database with my PC’s admin username and throws the error that this database does not exist.