]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Removed server default quoting from compare
authorFederico Caselli <cfederico87@gmail.com>
Thu, 11 May 2023 19:49:14 +0000 (21:49 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 11 May 2023 20:41:09 +0000 (22:41 +0200)
commit230a2932f646800b006c00b434be95c164598525
tree03b4b3b665b41461798b54c3a0b29ff9b7cdec75
parent92e54a0e1c96cecd99397cb1aee9c3bb28f780c6
Removed server default quoting from compare

Don't modify the metadata server default when comparing it in the
autogenerate process.
This impacts the value passes to user provided functions passed in
:paramref:`.EnvironmentContext.configure.compare_server_default`
and third party dialect that implement a custom ``compare_server_default``.

Fixes: #1178
Change-Id: Ib429efcf9077337f768ad5aad91659867e89391a
alembic/autogenerate/compare.py
alembic/context.pyi
alembic/ddl/mysql.py
alembic/runtime/environment.py
docs/build/unreleased/1178.rst [new file with mode: 0644]
tests/test_postgresql.py