Comments (3)
see #102 for a full backtrace; this happens on any migration for me.
from node-db-migrate.
Same issue on my side :
$ db-migrate up --dry-run
[INFO] dry run
select version() as version
[ERROR] TypeError: Cannot read property 'rows' of undefined
at Class.<anonymous> (/usr/local/lib/node_modules/db-migrate/lib/driver/pg.js:60:19)
at Class.Base.extend.runSql (/usr/local/lib/node_modules/db-migrate/lib/driver/pg.js:195:18)
at Class.Base.extend.createMigrationsTable (/usr/local/lib/node_modules/db-migrate/lib/driver/pg.js:55:12)
at /usr/local/lib/node_modules/db-migrate/bin/db-migrate:128:21
at /usr/local/lib/node_modules/db-migrate/index.js:10:5
at /usr/local/lib/node_modules/db-migrate/lib/driver/index.js:15:5
at Object.exports.connect (/usr/local/lib/node_modules/db-migrate/lib/driver/pg.js:217:5)
at Object.exports.connect (/usr/local/lib/node_modules/db-migrate/lib/driver/index.js:12:10)
at Object.exports.connect (/usr/local/lib/node_modules/db-migrate/index.js:8:10)
at executeUp (/usr/local/lib/node_modules/db-migrate/bin/db-migrate:125:9)
from node-db-migrate.
I'm seeing this same issue with current code. Is this just me?
from node-db-migrate.
Related Issues (20)
- move from rc to run-con
- Reasoning behind using template.js tog generate a files for each migration? HOT 2
- Problem with migration down using plugin HOT 1
- Still having problems with db-migrate and ESM node projects... HOT 7
- I can not install db-migrate-sqlite3 HOT 1
- Argv bug when running createDatabase using the Programmable API as part of a Jest test run
- Question: possible to use an abstract source of migrations that is not a file system directory
- undo-seed.js require of connect.js is wrong
- Put M1 incompatibility in the readme please HOT 4
- postgres driver looking for sqlite3 HOT 1
- If trying to set length of int: Error in query: ERROR: syntax error at or near "(" HOT 5
- always run migrations HOT 1
- db-migrate command timing out when called from Docker HOT 2
- Migrations not executed with Node 18, stuck on connecting HOT 13
- Problem with db-migrate executing a CREATE PROCEDURE HOT 3
- Multiple schema support or tricks HOT 1
- Can't toggle DDL Transactions selectively for individual migrations HOT 3
- feature request: add JSDoc to create migration template HOT 2
- semver related CVE and release
- Error: cpu-features Command failed when installing db-migrate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-db-migrate.