Use knex-migrate in knex
See original GitHub issueI’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:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.
I’ve added programmatic api and support for creating migrations to knex-migrate