Skip to content

Indicating which is the current version in history #481

Closed
@sqlalchemy-bot

Description

@sqlalchemy-bot

Migrated issue, originally created by Kazutaka Mise (@misebox)

Overview

Now, the history command does not tell us which the current version is. So, we have to execute the current command and look for the same version hash from output of history command.
I think it's useful if output of history command indicates which current version is.

Proposal

  • Get current version from alembic_version table.
  • Display (current) at right side of current version's hash.
  • This feature needs DB access. How about to implement as an option.
    (like alembic history --current)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions