Saturday, 6 May 2017

database connection error on heroku

I am having trouble posting and getting from my heroku database. I can crud locally(TO PostgreSQL), so it isn't my queries; it must be the way that I have configured my database connection. I have received the following error:

error relation "blogs" does not exist error: relation "blogs" does not exist at Connection.parseE (/app/node_modules/pg-promise/node_modules/pg/lib/connection.js:539:11) at Connection.parseMessage (/app/node_modules/pg-promise/node_modules/pg/lib/connection.js:366:17) at TLSSocket. (/app/node_modules/pg-promise/node_modules/pg/lib/connection.js:105:22) at emitOne (events.js:96:13) at TLSSocket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:177:18) at TLSSocket.Readable.push (_stream_readable.js:135:10) at TLSWrap.onread (net.js:542:20)



via LukeCage

No comments:

Post a Comment