question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use knex-migrate in knex

See original GitHub issue

I’m an author of https://github.com/sheerun/knex-migrate

Maybe knex wants to consider incorporating it as official knex migrate? It has the same functionality and more (e.g. migrating upto or downto any migration and rollbacks/redo).

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
fl0wcommented, Apr 29, 2017

I never use knex migration client […]

@elhigu maybe that’s an indication in itself? 😃

I’m not a contributor (noob), so I understand my opinion wasn’t asked for.

The current migrator is lacking IMO. At first glance knex-migrate doesn’t seem to expose commands programmatically - which it ought to if merged and to replace current migrator.

1reaction
sheeruncommented, Dec 20, 2017

I’ve added programmatic api and support for creating migrations to knex-migrate

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrations | Knex.js
Migrations use a knexfile, which specify various configuration settings for the module ... knex migrate:make migration_name # or for .ts $ knex migrate:make ......
Read more >
Migration and seeding instructions using Knex.js! - gists · GitHub
hello, i have issue with knex migration file. I created one, but when i run knex migrate:latest it says that everything is already...
Read more >
Knex cheatsheet - Devhints
One-page guide to Knex: usage, examples, and more. ... -x ts # Generates a TypeScript migration file knex migrate:latest knex migrate:rollback.
Read more >
Knex Migration — For schema and seeds with PostgreSQL
Get started with Knex-migrate using this step by step guide from Heady. We show you how to keep track of your PostgreSQL schema...
Read more >
Knex.js Tutorial For Beginners - Shahed Nasser
In this tutorial, you'll learn how to use Knex.js with Node.js and Express. ... "migrate": "knex migrate:latest --knexfile db/knexfile.js".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found