Skip to content

Instantly share code, notes, and snippets.

@x37v
Created January 13, 2016 17:53
Show Gist options
  • Save x37v/e0f8b63a9bb0353c56bb to your computer and use it in GitHub Desktop.
Save x37v/e0f8b63a9bb0353c56bb to your computer and use it in GitHub Desktop.
knex rollback issue
Knex:warning - migration 20151111160500_move_parent_ing_id_out_of_data.js did not return a promise
Knex:warning - migrations failed with error: DROP FUNCTION set_updated_timestamp() - cannot drop function set_updated_timestamp() because other objects depend on it
error: DROP FUNCTION set_updated_timestamp() - cannot drop function set_updated_timestamp() because other objects depend on it
at Connection.parseE (/vagrant/node_modules/pg/lib/connection.js:539:11)
at Connection.parseMessage (/vagrant/node_modules/pg/lib/connection.js:366:17)
at Socket.<anonymous> (/vagrant/node_modules/pg/lib/connection.js:105:22)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at TCP.onread (net.js:523:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment