sqlalchemy / alembic

A database migrations tool for SQLAlchemy.
MIT License
2.61k stars 234 forks source link

Typo in Front Matter/Installation: alembic init . #1463

Closed kornelumann closed 2 months ago

kornelumann commented 2 months ago

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.

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!

CaselIT commented 2 months ago

Hi,

Indeed, thanks for reporting