]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
ExecuteSQLOp rendering respects alembic_module_prefix
authorAvery Fischer <avery@averyjfischer.com>
Mon, 12 May 2025 11:50:08 +0000 (13:50 +0200)
committerAvery Fischer <avery@averyjfischer.com>
Mon, 12 May 2025 14:16:03 +0000 (16:16 +0200)
commitde58f3ebb50b1656d05a590fc8672b3944a22f02
tree9d99a1e5410d55a9abc37859b7803ccdd608d4d1
parentc4da65cae7cf31ee7bcb9831f3e4d728b49805d2
ExecuteSQLOp rendering respects alembic_module_prefix

Rendering ExecuteSQLOp did not respect the alembic_module_prefix setting
due
to having op. hard-coded in its template.

This change updates the render logic to use the same
_alembic_autogenerate_prefix() as it seems the rest of the ops use.

---

Fixes #1656
alembic/autogenerate/render.py
tests/test_autogen_render.py