sqlalchemy / alembic

A database migrations tool for SQLAlchemy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in Front Matter/Installation: alembic init .

kornelumann opened this issue · comments

Describe the bug

https://alembic.sqlalchemy.org/en/latest/front.html#installation says

/path/to/your/project/.venv/bin/alembic init .

Expected behavior

It should be

/path/to/your/project/.venv/bin/alembic init alembic

To Reproduce

Follow the installation instructions as on the page.

Error

  FAILED: Directory . already exists and is not empty

Versions.

  • Alembic: 1.13.1

Additional context

https://alembic.sqlalchemy.org/en/latest/tutorial.html has it correctly

$ alembic init alembic

Yeah and there's a dot after Versions in this template.

Have a nice day!

Hi,

Indeed, thanks for reporting