Skip to content

CLI: list all pending migrations #3390

@Saka7

Description

@Saka7
Contributor

Feature request: Knex CLI list all pending migrations

Are there any plans for list command? The idea is to print all migrations which haven't been applied yet.

API Example:

knex list

20190809115505_migration10
20190809115506_migrations11
20190809115507_migrations12

References:

Activity

kibertoad

kibertoad commented on Aug 13, 2019

@kibertoad
Collaborator

@Saka7 Sounds useful! We would gladly accept PR for this.

kibertoad

kibertoad commented on Aug 28, 2019

@kibertoad
Collaborator

Released in 0.19.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kibertoad@Saka7

        Issue actions

          CLI: list all pending migrations · Issue #3390 · knex/knex